[wp-trac] [WordPress Trac] #15671: get_themes() may lie about the template directory
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 3 22:39:05 UTC 2010
#15671: get_themes() may lie about the template directory
--------------------------+-------------------------------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Themes | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
If the first file in the template array is actually overridden by the
child theme, then get_themes() will have an incorrect value for the
Template Dir.
Template and style have dual meanings in get_themes() -- in some cases,
it's the directory (parent versus child), in other cases, it's the kind of
file (PHP versus CSS).
Cleaning this up further in 3.2. Working on a quick fix for 3.1 though.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15671>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list