Uninstalling Quick Cache after migrating to ZenCache results in missing define('WP_CACHE', TRUE)
#450
Labels
Milestone
define('WP_CACHE', TRUE)
#450
In v150314 we fixed a zero-byte
advanced-cache.php
bug related to uninstalling Quick Cache after migrating over to ZenCache (see #432). However, it seems that uninstalling Quick Cache is also removing thedefine('WP_CACHE', TRUE);
from thewp-config.php
file.So, even though ZenCache is now ensuring that
advanced-cache.php
is populated and correct, the cache is not being used becausedefine('WP_CACHE', TRUE);
is missing fromwp-config.php
.It looks like we just need to add a call to
add_wp_cache_to_wp_config()
insidecheck_advanced_cache()
right here, so that whenever theadvanced-cache.php
file is missing or empty we also check to make suredefine('WP_CACHE', TRUE);
is set in thewp-config.php
file.@jaswsinc Does that sound right to you?
The text was updated successfully, but these errors were encountered: