[wp-trac] [WordPress Trac] #14955: Themes should support uninstall.php or uninstall hook

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 8 03:16:37 UTC 2011


#14955: Themes should support uninstall.php or uninstall hook
---------------------------------+-----------------------------
 Reporter:  WraithKenny          |       Owner:
     Type:  enhancement          |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Themes               |     Version:  3.0.1
 Severity:  normal               |  Resolution:
 Keywords:  3.3-early has-patch  |
---------------------------------+-----------------------------
Changes (by greuben):

 * keywords:  needs-patch 3.2-early => 3.3-early has-patch


Comment:

 Instead of register_theme_uninstall_hook() we can use 'uninstall_theme'
 hook.

 [attachment:14955.diff] makes use of uninstall.php and introduces
 'uninstall_theme' hook.

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


More information about the wp-trac mailing list