[wp-trac] [WordPress Trac] #12140: Reduce DB queries during install by limiting use of wp_load_alloptions()

WordPress Trac wp-trac at lists.automattic.com
Fri May 7 18:29:34 UTC 2010


#12140: Reduce DB queries during install by limiting use of wp_load_alloptions()
------------------------------------+---------------------------------------
 Reporter:  donncha                 |        Owner:  dd32    
     Type:  enhancement             |       Status:  reopened
 Priority:  high                    |    Milestone:  3.0     
Component:  Upgrade/Install         |      Version:          
 Severity:  normal                  |   Resolution:          
 Keywords:  dev-feedback multisite  |  
------------------------------------+---------------------------------------
Changes (by westi):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Found an issue with this :-)

 wordpress-tests does everything with WP_INSTALLING defined (unfortunately)

 And this has broken cron in that environment.

 Basically get_option is caching on fetch from db but update_option isn't
 overwriting it.

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


More information about the wp-trac mailing list