[wp-trac] [WordPress Trac] #22401: Add information about old theme to 'theme_switched' action

WordPress Trac noreply at wordpress.org
Sun Feb 7 08:25:31 UTC 2016


#22401: Add information about old theme to 'theme_switched' action
----------------------------------+-----------------------
 Reporter:  evansolomon           |       Owner:  obenland
     Type:  enhancement           |      Status:  accepted
 Priority:  normal                |   Milestone:  4.5
Component:  Themes                |     Version:  3.3
 Severity:  normal                |  Resolution:
 Keywords:  has-patch needs-docs  |     Focuses:
----------------------------------+-----------------------

Comment (by DrewAPicture):

 In [changeset:"36502"]:
 {{{
 #!CommitTicketReference repository="" revision="36502"
 Themes: Pass information about the old theme in the form of a `WP_Theme`
 object when the `switch_theme` action is fired.

 Props MikeHansenMe.
 See #22401.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22401#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list