[wp-trac] [WordPress Trac] #14828: Database query for non-existent mods_themename option

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 10 08:01:58 UTC 2010


#14828: Database query for non-existent mods_themename option
--------------------------+-------------------------------------------------
 Reporter:  demetris      |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Performance   |     Version:  3.1            
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 I have noticed this in Twenty Ten and in a couple of other themes, but I
 imagine it must be the same for any theme for which the mods_themename
 option applies:

 Unless you have visited one of the Menus, Background, etc. screens, and
 have modified something there, the mods_themename option is not added to
 the DB.  As a result, WordPress does not find it in the autoloaded set and
 has to query the DB.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14828>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list