[wp-trac] [WordPress Trac] #20021: wp_load_alloptions() does not cache result when MultiSite is enabled

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 13 02:12:46 UTC 2012


#20021: wp_load_alloptions() does not cache result when MultiSite is enabled
------------------------------------+------------------------------
 Reporter:  gcorne                  |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Cache                   |     Version:  3.3.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------
Changes (by gcorne):

 * keywords:  has-patch reporter-feedback => has-patch dev-feedback


Comment:

 @duck_

 Please see option.php:138 and option.php:152. When getting/setting the
 cache key pair, the conditional uses OR not AND.

 {{{
 if ( !defined( 'WP_INSTALLING' ) || !is_multisite() )
      // check cache
 else
      // don't touch the cache
 }}}

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


More information about the wp-trac mailing list