[wp-trac] [WordPress Trac] #20103: Rewrite get_themes() and other enemies of sanity
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 29 05:37:40 UTC 2012
#20103: Rewrite get_themes() and other enemies of sanity
--------------------------+---------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.4
Component: Themes | Version: 1.5
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------
Comment (by nacin):
In [20317]:
{{{
#!CommitTicketReference repository="" revision="20317"
Use new scandir() return value (key is path relative to theme, value is
absolute path) in WP_Theme->get_page_templates(). Use
parent()->get_page_templates() and merge in a parent's page templates,
rather than extra logic. see [20312], see #20103.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20103#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list