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

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 8 19:39:53 UTC 2010


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

  * milestone:  Unassigned => 3.1


Comment:

 Replying to [comment:16 x3r0ss]:
 > Which I understand now but there's no documentation saying it's
 unsupported as far as I know, and perhaps explicitly checking if they're
 passing an object and throwing an exception if they do would be an
 improvement.

 Agreed. Moving to 3.1 pending patch. We can probably get away with using
 _deprecated_argument() here.

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


More information about the wp-trac mailing list