[wp-trac] [WordPress Trac] #13786: Problems with the current register_uninstall_hook implementation

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 8 17:34:37 UTC 2010


#13786: Problems with the current register_uninstall_hook implementation
--------------------------+-------------------------------------------------
 Reporter:  x3r0ss        |       Owner:  westi         
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Unassigned    
Component:  Plugins       |     Version:  3.0           
 Severity:  normal        |    Keywords:  hooks, plugins
--------------------------+-------------------------------------------------

Comment(by x3r0ss):

 Yeh that seems about what I suggested here, guess I'll go with the
 uninstall.php approach and just include the plugin file itself.

 Now the only thing I think should be added is a big warning people
 shouldn't register a callback on an instantiated class in the uninstall
 hook, because that will create a huge wp_options field (10MB for 1 row),
 and eventually prevent the wordpress install from working.

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


More information about the wp-trac mailing list