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

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 18 17:52:59 UTC 2011


#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       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+-----------------------------
Changes (by kksharma1618):

 * cc: kksharma1618 (added)


Comment:

 I have written a code which provides a reliable activation/deactivation
 theme hooks. Please check it out and let me know what you guys think!

 http://www.krishnakantsharma.com/2011/01/activationdeactivation-hook-for-
 wordpress-theme/

 '''Note:''' Though this can be used in core and it will work well with
 themes, I think if we are modifying core then we can place a more direct
 code, instead of this indirect patch.

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


More information about the wp-trac mailing list