[wp-trac] [WordPress Trac] #21401: Load packaged object cache when advanced-cache.php and object-cache.php don't implement wp_cache_init( )

WordPress Trac noreply at wordpress.org
Fri Sep 6 18:09:25 UTC 2013


#21401: Load packaged object cache when advanced-cache.php and object-cache.php
don't implement wp_cache_init( )
----------------------------+-----------------------------
 Reporter:  wonderboymusic  |       Owner:  wonderboymusic
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  3.7
Component:  Cache           |     Version:  3.0
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |
----------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"25289"]:
 {{{
 #!CommitTicketReference repository="" revision="25289"
 Introduce `wp_using_ext_object_cache()` - mimic
 `wp_suspend_cache_invalidation()` and discourage direct access to
 `$_wp_using_ext_object_cache`, cleaning up importing of globals in
 functions and provides function to modify that global.  Loads the packaged
 object cache when an external cache hasn't been loaded or doesn't contain
 `wp_cache_init()`.

 Fixes #21401.
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/21401#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list