[wp-trac] Re: [WordPress Trac] #8568: Plugin activation hook should not be run when scraping errors.

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 19 14:02:33 GMT 2009


#8568: Plugin activation hook should not be run when scraping errors.
------------------------------------------------------+---------------------
 Reporter:  sambauers                                 |        Owner:  anonymous
     Type:  defect (bug)                              |       Status:  new      
 Priority:  normal                                    |    Milestone:  2.7.1    
Component:  Administration                            |      Version:  2.7      
 Severity:  normal                                    |   Resolution:           
 Keywords:  has-patch dev-feedback reporter-feedback  |  
------------------------------------------------------+---------------------
Comment (by DD32):

 absolutely no point running the deactivation hook IMO, since the plugin
 was never "active" mind you.. i guess it cant hurt.

 however, it should -never- reach a point where the deactivation code is
 run, the plugin should've failed with a fatal error, or the activation
 function should've printed a error reason and died..

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8568#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list