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

Updated 4.0 release #72

Closed
wants to merge 30 commits into from
Closed

Updated 4.0 release #72

wants to merge 30 commits into from

Conversation

ericmann
Copy link
Owner

Introduces some better protection against race conditions:

  • The plugin activation hook fires after the plugins_loaded action, making the latter an improper place to wire in the creation of a new session (as the DB didn't exist). Instead, we'll just ensure the DB is up to date on both hooks (this way a CLI-based install will still trigger the creation of the table, but a browser-based install won't trigger an error either).
  • In some rare cases, the system would attempt cleaning up the database before the $wpdb global was available. We'll ensure this global is non-null before attempting to use it.

This version also introduces a cache-based session handler. If a site is leveraging Memcached or Redis (or even APC) then encrypted session data will be stored there as well. This way, WordPress only has to go to the cache and not all the way to the database to grab source data.

Target for release is Tuesday, January 1, 2019.

@ericmann ericmann added this to the 4.0.0 milestone Dec 27, 2018
.travis.yml Show resolved Hide resolved
includes/CacheHandler.php Show resolved Hide resolved
includes/CacheHandler.php Show resolved Hide resolved
includes/CacheHandler.php Outdated Show resolved Hide resolved
includes/CacheHandler.php Outdated Show resolved Hide resolved
includes/CacheHandler.php Outdated Show resolved Hide resolved
includes/CacheHandler.php Outdated Show resolved Hide resolved
@ericmann
Copy link
Owner Author

ericmann commented Jan 1, 2019

@ericmann ericmann closed this Jan 1, 2019
@ericmann ericmann deleted the 4.0-dev branch February 16, 2019 04:07
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.

None yet

2 participants