[wp-trac] [WordPress Trac] #12425: allow to override the fallback theme

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 2 21:38:00 UTC 2010


#12425: allow to override the fallback theme
-------------------------------------+--------------------------------------
 Reporter:  Denis-de-Bernardy        |        Owner:          
     Type:  enhancement              |       Status:  reopened
 Priority:  normal                   |    Milestone:  3.0     
Component:  General                  |      Version:  3.0     
 Severity:  normal                   |   Resolution:          
 Keywords:  needs-patch 2nd-opinion  |  
-------------------------------------+--------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  has-patch commit => needs-patch 2nd-opinion
  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 re-opening, because I'm foreseeing a possibly trickier issue.

 consider a user with the simplest theme possible. two files, index.php and
 style.css, that currently relies on get_header(), get_sidebar() and
 get_footer(). that user is currently relying on the default theme. making
 him use twentyten all of the sudden makes no sense.

 in other words, we should: during the upgrade, add an option with a value
 of default; and during installs, add an option with a value of twentyten.
 and then use the option to set the define.

 alternatively, we could tell these handful of users (there can't be that
 many) to add the appropriate define in their wp-config.php file. in this
 case, the existing fix works wonders.

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


More information about the wp-trac mailing list