[wp-trac] [WordPress Trac] #7795: Activate and Deactivate Theme hooks

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 18 20:06:50 UTC 2010

#7795: Activate and Deactivate Theme hooks
 Reporter:  jacobsantos  |       Owner:  anonymous     
     Type:  enhancement  |      Status:  new           
 Priority:  normal       |   Milestone:  Future Release
Component:  Themes       |     Version:  2.7           
 Severity:  normal       |    Keywords:  needs-patch   

Comment(by scribu):

 For the deactivation hook to work, the functions.php of the old theme has
 to be loaded. I think the most logical time to call it would be just
 before switching to the new theme.

Ticket URL: <http://core.trac.wordpress.org/ticket/7795#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list