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

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 24 00:33:59 UTC 2010


#14955: Themes should support uninstall.php or uninstall hook
-------------------------+--------------------------------------------------
 Reporter:  WraithKenny  |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  3.0.1          
 Severity:  normal       |    Keywords:                 
-------------------------+--------------------------------------------------

Comment(by scribu):

 We shouldn't attempt to reuse register_*_hook() functions because there's
 only one theme running at a time, so the underlying logic would be very
 different.

 That's why there's no theme_basename() and why the $file parameter
 wouldn't be needed.

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


More information about the wp-trac mailing list