[wp-trac] [WordPress Trac] #24363: Twenty Thirteen: Remove unused param in twentythirteen_switch_theme()
WordPress Trac
noreply at wordpress.org
Sun May 19 10:31:54 UTC 2013
#24363: Twenty Thirteen: Remove unused param in twentythirteen_switch_theme()
---------------------------+--------------------
Reporter: DrewAPicture | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch |
---------------------------+--------------------
Comment (by SergeyBiryukov):
`theme_name` cannot be removed. `after_switch_theme` action passes the old
theme object as the second argument: [source:tags/3.5.1/wp-
includes/theme.php#L1612].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24363#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list