[wp-trac] Re: [WordPress Trac] #4127: Fatal error detection for plugin activation is too touchy

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 10 23:05:07 GMT 2007


#4127: Fatal error detection for plugin activation is too touchy
----------------------------+-----------------------------------------------
 Reporter:  masquerade      |        Owner:  masquerade
     Type:  defect          |       Status:  new       
 Priority:  high            |    Milestone:  2.2       
Component:  Administration  |      Version:  2.2       
 Severity:  normal          |   Resolution:            
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------
Comment (by masquerade):

 Replying to [comment:1 Otto42]:
 > Regarding that patch, won't ob_end_clean() just discard the output from
 the plugin? If a plugin tries to output some initial setup options, this
 will just dump them. That may or may not be the right thing to do (plugins
 should probably never do output on their own), but still...

 Yes, it will just dump it. That was the point. I do believe the odds of
 getting this reverted period are incredibly slim, its something that has
 been needed for a long time. Anybody (like me) who was doing weird things
 with output on activation has really been doing something the API wasn't
 intended to do in the first place (it breaks the redirect already in place
 to bring you back to the admin panel and all that stuff). There are other
 ways to handle it. I don't think just because a plugin outputs there needs
 to be a fatal error notice.

 To Jeremy, I really don't think you know what you're talking about. That
 doesn't make any sense against what this ticket is about.

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


More information about the wp-trac mailing list