[wp-trac] [WordPress Trac] #36406: $network_wide is unreliable
WordPress Trac
noreply at wordpress.org
Fri Sep 9 08:45:39 UTC 2016
#36406: $network_wide is unreliable
--------------------------+-----------------------------
Reporter: mensmaximus | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Plugins | Version: 4.4.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: multisite
--------------------------+-----------------------------
Comment (by mensmaximus):
The best solution I can come up with is the attached patch. The only place
I could find to check for is_network_admin() is before error_scrape is
called. I have added the value to the GET parameters so I can fetch it
and pass it to activate_{plugin}. In my tests this works well and has no
negative impact.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36406#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list