[wp-trac] [WordPress Trac] #14470: Update more default references to Twenty Ten

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 30 11:58:15 UTC 2010


#14470: Update more default references to Twenty Ten
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:       
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  3.0.2
Component:  Themes        |     Version:       
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
 A blog with a dead theme will try to revert to 'WordPress Default' via
 get_current_theme().

 Since our fallback/default constant contains the directory and here we
 need the name, I think it's best to just hard-code this for now (3.0.2, if
 there will be one). Ideally, we can in a future release restructure the
 Theme API to stop passing around names as if they are authoritative,
 because they're messy and ideally the slug should be used. (It's made my
 revisions project quite annoying.)

 We also have logic elsewhere to make sure that Default and Classic
 impostors are treated secondary to the proper themes. Should we continue
 to do this for new default themes?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14470>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list