[wp-trac] [WordPress Trac] #14911: Don't fetch theme_roots on every page load.

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 5 07:46:18 UTC 2010


#14911: Don't fetch theme_roots on every page load.
--------------------------+-------------------------------------------------
 Reporter:  ryan          |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:  3.1     
Component:  Performance   |      Version:          
 Severity:  normal        |   Resolution:          
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by westi):

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


Comment:

 Don't these need filtering for preview purposes otherwise anywhere a theme
 being previewed calls {{{get_template_directory()}}} we are going to
 return the current theme not the previewed one.

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


More information about the wp-trac mailing list