[wp-trac] [WordPress Trac] #20921: Customizer should check theme errors(), not just exists()

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 12 17:28:27 UTC 2012


#20921: Customizer should check theme errors(), not just exists()
------------------------------+------------------
 Reporter:  nacin             |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.4
Component:  Themes            |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by nacin):

 [attachment:20921.2.diff] moves the validate_current_theme() check to
 after_setup_theme, as validate_current_theme() requires both TEMPLATEPATH
 and STYLESHEETPATH to be set. setup_theme()'s branching and procedural
 flow is now pretty much completely re-organized, and I think it's much
 more clean now.

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


More information about the wp-trac mailing list