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

Make sure that wp_suspend_cache_addition is defined before calling... #45

Merged
merged 1 commit into from Oct 25, 2014
Merged

Make sure that wp_suspend_cache_addition is defined before calling... #45

merged 1 commit into from Oct 25, 2014

Conversation

cmmarslender
Copy link
Contributor

...the function, to avoid fatal errors where object-cache.php might be loaded by advanced-cache.php (prior to wp_suspend_cache_addition being defined)

Fixes #44

…e function, to avoid fatal errors where object-cache.php might be loaded by advanced-cache.php (prior to wp_suspend_cache_addition being defined)
@TheLastCicada
Copy link

We've had this running on a live site with Batcache for about a month with no issues. Only 1 datapoint, but we've battle-tested this a bit.

tollmanz added a commit that referenced this pull request Oct 25, 2014
Make sure that wp_suspend_cache_addition is defined before calling.
@tollmanz tollmanz merged commit d4d0840 into tollmanz:master Oct 25, 2014
@tollmanz
Copy link
Owner

Thanks @cmmarslender! I totally thought I had done this already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wp_suspend_cache_addition() is always defined when wp_cache_add is called
3 participants