[wp-trac] [WordPress Trac] #31327: Shiny Updates: Plugins installed on Multisite shouldn't auto-activate on the primary site
WordPress Trac
noreply at wordpress.org
Sun Feb 22 21:29:47 UTC 2015
#31327: Shiny Updates: Plugins installed on Multisite shouldn't auto-activate on
the primary site
-------------------------------------+-------------------------
Reporter: DrewAPicture | Owner: jeremyfelt
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2
Component: Plugins | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: multisite
-------------------------------------+-------------------------
Changes (by jeremyfelt):
* owner: => jeremyfelt
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31511"]:
{{{
#!CommitTicketReference repository="" revision="31511"
Do not activate plugins on initial installation in multisite.
Check `is_multisite()` before activating a plugin that has been installed
via AJAX. Without this check, the plugin would be automatically activated
on the main site of the network.
Props ianmjones.
Fixes #31327.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31327#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list