[wp-trac] [WordPress Trac] #14911: Don't fetch theme_roots on every page load.
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 17 15:30:02 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):
In trying out the bbPress Plugin on 3.1-alpha (which JJJ hadn't as of yet)
it'd seem that in registering the TwentyTen Child Theme using
{{{register_theme_directory();}}} it'll not work in a 3.1-alpha
environment. It works on a 3.0.1 install, and I can confirm that!
/plugins/bbpress/bbp-themes/ is the directory being registered, and while
it is in 3.1-alpha, when you either activate or want preview the theme,
it'll not show TwentyTen Child Theme properly. And on viewing the source
for the stylesheet URL, you will find it's looking for /wp-content/themes
/bbp-twentyten/style.css when it should be looking for /wp-
content/plugin/bbpress/bbp-themes/bbp-twentyten/style.css
So it's looking for a directory not there?
''For more info you might want to take a quick read through #BB1334 from
about the 20th comment down, and also #BB1358 the later being after I
talked to JJJ on IRC last night, trying to diagnose what was happening.''
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14911#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list