[wp-trac] [WordPress Trac] #20103: Rewrite get_themes() and other enemies of sanity

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 29 04:16:21 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 [20315]:
 {{{
 #!CommitTicketReference repository="" revision="20315"
 Always set WP_Theme->template even when there is an error and we have no
 idea what the template is. (Assume it is the stylesheet.) Prevents a
 number of issues including WP_Theme->is_child_theme() lying. Tidy the
 theme editor for broken themes and themes with no templates (PHP files),
 or no template (parent), or are broken. Allow broken themes to be edited.
 see #20103.
 }}}

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


More information about the wp-trac mailing list