[wp-trac] Re: [WordPress Trac] #7671: Plugin fatal error yields irrelevant error message from WordPress

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 4 09:52:08 GMT 2008


#7671: Plugin fatal error yields irrelevant error message from WordPress
-------------------------------+--------------------------------------------
 Reporter:  omry               |        Owner:  anonymous
     Type:  defect             |       Status:  closed   
 Priority:  normal             |    Milestone:           
Component:  General            |      Version:           
 Severity:  normal             |   Resolution:  invalid  
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------
Comment (by omry):

 any error inside the activated plugin generate some strange error
 messages.
 wasn't the point of this detection mechanism to help point out the problem
 in broken plugins?

 it's better not to provide an error message at all than to provide some
 bogus irrelevant message.

 what if you swap those two:
 {{{
 Mark the plugin as activated
 Run the activation hook
 }}}
 ?

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


More information about the wp-trac mailing list