[wp-trac] [WordPress Trac] #15648: switch_theme action hook may provide the old template value
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 2 14:31:45 UTC 2010
#15648: switch_theme action hook may provide the old template value
-------------------------+--------------------------------------------------
Reporter: drzraf | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Themes | Version:
Severity: trivial | Keywords: needs-patch
-------------------------+--------------------------------------------------
Changes (by nacin):
* keywords: theme, switch, custom header, defaults => needs-patch
* type: feature request => enhancement
* milestone: Awaiting Review => Future Release
Comment:
I hate that hook, since it passes get_current_theme(), which is a name
rather than a slug, instead of stylesheet and template.
We can grab the old stylesheet and template value and pass those. Let's
pass all four?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15648#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list