[wp-trac] [WordPress Trac] #46097: WSOD protection: network paused plugin cannot be resumed from the non-network plugins screen

WordPress Trac noreply at wordpress.org
Mon Jan 28 16:04:07 UTC 2019


#46097: WSOD protection: network paused plugin cannot be resumed from the non-
network plugins screen
------------------------------------+------------------------------
 Reporter:  pbiron                  |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Plugins                 |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  servehappy needs-patch  |     Focuses:
------------------------------------+------------------------------

Comment (by afragen):

 Replying to [comment:4 flixos90]:
 > @afragen
 > > I think this happens because the resume redirect uses the site
 `admin_url()` and not the `network_admin_url()`.
 >
 > Are you sure? Afaict it uses `self_admin_url()` which should use the
 correct version.
 >
 > I'm not sure yet why this doesn't work. Regarding the approach itself, I
 think it makes sense to allow resuming a plugin for one specific site even
 if it is network-active. The error that caused it originally could have
 occurred due to a specific incompatibility with another plugin that is
 only active on that site.

 I'm pretty sure. I was stepping through the code the other day and that's
 what I found. As the site is a subsite it returned `admin_url()`. I'll
 check again later to confirm.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46097#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list