[wp-trac] [WordPress Trac] #35096: Every option call results in a database query on multisite

WordPress Trac noreply at wordpress.org
Fri Aug 19 08:14:20 UTC 2016


#35096: Every option call results in a database query on multisite
--------------------------------+----------------------
 Reporter:  buley               |       Owner:
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  Options, Meta APIs  |     Version:
 Severity:  normal              |  Resolution:  wontfix
 Keywords:                      |     Focuses:
--------------------------------+----------------------

Comment (by schrapel):

 @danielbachhuber this sounds like exactly what is happening. It is made
 worse that our database locks up when alloptions get queried 250 times on
 a page by each user and we have a decent amount of concurrent users.

 The database result then returns null and puts values in notoptions that
 should not be there such as home, siteurl, user+roles. This puts the site
 in a redirect loop and disables the ability for users to log in.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35096#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list