[wp-trac] [WordPress Trac] #7671: Plugin fatal error yields irrelevant error message from WordPress
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 7 15:04:04 UTC 2010
#7671: Plugin fatal error yields irrelevant error message from WordPress
--------------------------+-------------------------------------------------
Reporter: omry | Owner: anonymous
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Plugins | Version: 3.0.1
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Changes (by andy):
* keywords: has-patch commit =>
* status: closed => reopened
* version: 2.7 => 3.0.1
* resolution: fixed =>
* milestone: 2.7 =>
Comment:
Somewhere along the line this bug crept back in. If the script dies in the
activate_$plugin hook, the plugin is activated and the message to the user
is that a function has already been defined.
The fix is simple: run the activate_$plugin hook BEFORE saving the new
active_plugins array.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7671#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list