[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 10:28:42 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: General | Version: 2.7
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+--------------------------------------------
Comment (by omry):
die was just an example of a problem with the plugin activation.
I am not sure what was the actual error in my plugin that caused the
misleading error message to appear.
what I am really interested in is a way for a plugin to fail activation
and to provide the user some error message.
naturally in such a case, the plugin should end up deactivated.
how would I achieve something like this?
--
Ticket URL: <http://trac.wordpress.org/ticket/7671#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list