Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent session from starting during WordPress pseudo-cron procedures #17890

Merged
merged 1 commit into from
Jul 19, 2020

Conversation

christianwach
Copy link
Member

Overview

Replaces #17883

Fixes this issue on Lab.
There is a linked PR on CiviCRM WordPress plugin.

Before

PHP warnings are written to the logs.

After

No PHP warnings are written to the logs.

Technical Details

There are a number of routes in WordPress that do not require sessions. Overloading the sessionStart() method for WordPress means we can avoid doing so.

@civibot
Copy link

civibot bot commented Jul 18, 2020

(Standard links)

@colemanw
Copy link
Member

Giving MOP based in Kevin's review.

@civicrm civicrm deleted a comment from seamuslee001 Jul 19, 2020
@civicrm civicrm deleted a comment from seamuslee001 Jul 19, 2020
@kcristiano
Copy link
Member

jenkins re test this please

@seamuslee001 seamuslee001 merged commit 2b79ac0 into civicrm:5.28 Jul 19, 2020
@christianwach christianwach deleted the lab-core-1889-3 branch July 22, 2020 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants