[wp-trac] [WordPress Trac] #14915: Fix activation hook inconsistency
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 27 22:45:47 UTC 2010
#14915: Fix activation hook inconsistency
--------------------------+-------------------------------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Plugins | Version: 2.9
Severity: normal | Keywords: has-patch dev-feedback
--------------------------+-------------------------------------------------
Changes (by joelhardi):
* keywords: needs-patch => has-patch dev-feedback
Comment:
OK, bulk update process aside, I just added a
[attachment:ticket:14915:15671.diff new patch] per dd32's feedback that I
believe addresses the original issue with the single plugin update.
It adds a "silent mode" to {{{activate_plugins()}}} identical to the one
that already exists for {{{deactivate_plugins()}}} and uses it when a
single plugin is updated. So, the plugin is loaded in its iframe sandbox
to check for errors, but the activation hook is not run.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14915#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list