[wp-trac] Re: [WordPress Trac] #7671: Plugin fatal error yields
irrelevant error message from WordPress
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 24 05:39:43 GMT 2008
#7671: Plugin fatal error yields irrelevant error message from WordPress
------------------------------+---------------------------------------------
Reporter: omry | Owner: anonymous
Type: defect | Status: reopened
Priority: normal | Milestone: 2.7
Component: Plugins | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+---------------------------------------------
Changes (by DD32):
* keywords: reporter-feedback => has-patch commit
Comment:
> attachment 7671.2.diff added.
* use activate_plugin for error scraping, Allows error hook to run, which
deals better with plugins deactivating themselves
* pass full WP_Error object to wp_die() since it can handle extracting
the messages held within
* Whitespace consistancy throughout the file
--
Ticket URL: <http://trac.wordpress.org/ticket/7671#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list