Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22661, comment 11


Ignore:
Timestamp:
01/23/2015 09:59:14 AM (10 years ago)
Author:
jipmoors
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22661, comment 11

    initial v1  
    1 A solution would be to generate a random (unused) key, set it and retrieve it to see if the cache is actually active before setting the wp_using_ext_object_cache blindly to enabled.
     1A solution would be to set a reserved key (_wp_cache_active?) and retrieve it to see if the cache is actually active before setting the wp_using_ext_object_cache blindly to enabled.
    22
    33