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

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 18 16:56:19 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     |  
--------------------------+-------------------------------------------------

Comment(by markmcwilliams):

 Just reporting back to say that change you made Ryan looks good, and works
 great on a live site anyway! :) As for in my local environment it's trying
 to locate http://localhost/wpdemo/wp-content/C:\xampp\htdocs\wpdemo\wp-
 content\plugins\bbpress/bbp-themes/bbp-twentyten/style.css purely because
 it uses {{{__FILE__}}} to 'locate' the folder the plugin is in, as the
 later comments of #BB1334 are suggesting!

 Are we looking at a(nother) possible WordPress error, or is this back in
 the hands of bbPress because the directory isn't hardcoded into the files?
 I suppose the fact it'll work everywhere else bar a local copy on Windows
 doesn't help?

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


More information about the wp-trac mailing list