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

WordPress Trac noreply at wordpress.org
Tue May 28 10:04:10 UTC 2013


#24441: Twenty Thirteen switch theme back compat missing argument
---------------------------+-----------------------------
 Reporter:  Offereins      |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  3.3
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 Try activating Twenty Thirteen on a pre-3.4 install. It returns (on 3.3.2)
 a `missing argument 2 for twentythirteen_switch_theme()` error, because
 the pre-3.4 `after_switch_theme` action uses only 1 param (`$old_theme`).

 I know, i'm not using the latest install of WP, but since inc/back-
 compat.php is breaking WP while the file header states explicitly:
 `Prevents Twenty Thirteen from running on WordPress versions prior to
 3.6`, i'm guessing we need a fix.

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


More information about the wp-trac mailing list