[wp-trac] [WordPress Trac] #24441: Twenty Thirteen switch theme back compat missing argument

WordPress Trac noreply at wordpress.org
Wed May 29 05:03:05 UTC 2013


#24441: Twenty Thirteen switch theme back compat missing argument
---------------------------+------------------
 Reporter:  Offereins      |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.6
Component:  Bundled Theme  |     Version:  3.3
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------

Comment (by obenland):

 Replying to [comment:2 nacin]:
 > It's trying to be too clever — when would this code ever run when
 twentythirteen isn't the active theme?

 Agreed, let's simplify.

 [[BR]]

 Replying to [comment:3 nacin]:
 > It won't work if WP_DEFAULT_THEME is a child theme, but core *should*
 pick up on that, declare the default child theme to be broken, and finally
 revert to the real default theme. At worst, the front of the site is a
 white screen (and the admin works fine), but that's better than a fatal
 error.

 Do you mean if it's a child theme of Twenty Thirteen?

 In my (short) tests the child theme (Hum => Twenty Eleven) worked just
 fine, I did not test it with a Twenty Thirteen child. When defining a non-
 existing theme, the front of the site is indeed white but the admin still
 works.

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


More information about the wp-trac mailing list