[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:48:20 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):

 Replying to [comment:12 nacin]:
 > It's keyed with the plugin file name, so I'm not sure how you're getting
 that large of a row.
 I don't think that the set_option function handles large objects too well
 then, think it somehow corrupted the field then.

 What I did was
 {{{
  register_uninstall_hook(__FILE__, array($this, "uninstall"));
 }}}

 Perhaps it's a bug that has appeared in WP3.0, recently switched to the
 nightlies (And now the SVN)

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


More information about the wp-trac mailing list