[wp-trac] [WordPress Trac] #37373: Plugin details on multisite create plugin-ception

WordPress Trac noreply at wordpress.org
Fri Jul 15 07:49:16 UTC 2016


#37373: Plugin details on multisite create plugin-ception
--------------------------+----------------------------------------
 Reporter:  Clorith       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  4.6
Component:  General       |     Version:  trunk
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |     Focuses:  administration, multisite
--------------------------+----------------------------------------
Description changed by Clorith:

Old description:

> When searching for a plugin on multisite, clicking the More Details link
> will open the add plugins page instead of the details from .org
>
> This only happens if you use the search, clicking More Details on a
> plugin that hasn't been shown from a search result .
>
> The cause appears to be the More Details link on search results isn't
> checking if you are on a network admin page or not and therefore omits
> the `/network` part of the path.
>
> It seems to be caused by `self_admin_url` and the check for
> `is_network_admin` not passing here, I see #22589 was punted, but
> obviously this is also affecting the new plugin behavior.
>
> [https://wordpress.org/support/topic/plugins-add-new-more-details-before-
> and-after-search-on-46-beta Originally report] by @ravanh

New description:

 When searching for a plugin on multisite, clicking the More Details link
 will open the add plugins page instead of the details from .org

 This only happens if you use the search, clicking More Details on a plugin
 that hasn't been shown from a search result provides the expected details
 page.

 The cause appears to be the More Details link on search results isn't
 checking if you are on a network admin page or not and therefore omits the
 `/network` part of the path.

 It seems to be caused by `self_admin_url` and the check for
 `is_network_admin` not passing here, I see #22589 was punted, but
 obviously this is also affecting the new plugin behavior.

 [https://wordpress.org/support/topic/plugins-add-new-more-details-before-
 and-after-search-on-46-beta Originally report] by @ravanh

--

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


More information about the wp-trac mailing list