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

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 28 10:58:05 GMT 2009


#8568: Plugin activation hook should not be run when scraping errors.
-------------------------------------------+--------------------------------
 Reporter:  sambauers                      |        Type:  defect (bug)
   Status:  new                            |    Priority:  normal      
Milestone:  2.8                            |   Component:  Plugins     
  Version:  2.7                            |    Severity:  normal      
 Keywords:  has-patch tested dev-feedback  |  
-------------------------------------------+--------------------------------

Comment(by hakre):

 I - as a plugin developer - am quite confident with the current
 implementation. It ensures that errors created by plugin activation are
 covered. This is usefull.

 Calling the Deactivation Hook must not be necessary here because the code
 in question is only executed if the Activation Hook fails. So I assume it
 will never be executed? Or will it?

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


More information about the wp-trac mailing list