WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 9 days ago

#20104 new enhancement

Show network-activated plugins on site plugins screen

Reported by: nacin Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Plugins Keywords: dev-feedback
Focuses: multisite Cc:

Description

Per http://wpdevel.wordpress.com/2011/12/23/core-team-meetup-recap-multisite/, one action item is:

Include network activated plugins in the plugins menu and give message that it is automatically on for the whole network (if admin/have rights to see plugins screen).

To enable the plugins screen for a network, a super admin can go to network/settings.php and enable the menu.

Network-activated plugins should still show on this screen to site administrators. (They just can't activate them.) This should require a few tweaks to the plugins list table.

Attachments (2)

20104.diff (3.5 KB) - added by abackstrom 4 years ago.
20104.2.diff (15.5 KB) - added by nacin 3 years ago.

Download all attachments as: .zip

Change History (17)

comment:1 @Japh4 years ago

  • Cc japh@… added

comment:2 @DrewAPicture4 years ago

  • Cc xoodrew@… added

comment:3 @kawauso4 years ago

  • Cc kawauso added

@abackstrom4 years ago

comment:4 @abackstrom4 years ago

Current patch co-opts the actions list to display the text "Network Active" under the plugin name.

comment:5 @dempsey3 years ago

  • Cc dempsey@… added

comment:6 @nacin3 years ago

In IRC we've decided to punt this. I have some cleanup I am going to drop in for now.

@nacin3 years ago

comment:7 @nacin3 years ago

In [20525]:

Clean up plugins.php with regards to recently edited files, deactivations, and the network admin. see #20468, #20104.

  • Limit recently_activated to the site dashboard, and properly remove bulk-activated plugins from the array.
  • Remove code used from before the network admin, such as the unused 'network' plugin_status.
  • Don't try to deactivate a plugin already deactivated.
  • Use more specific caps (manage_network_plugins) rather than is_super_admin().

comment:8 @nacin3 years ago

  • Milestone changed from 3.4 to Future Release

comment:9 @DrewAPicture3 years ago

  • Keywords dev-feedback added

Came across this issue again today, would be nice to get it in for 3.5.

Last edited 3 years ago by DrewAPicture (previous) (diff)

comment:10 @jeremyfelt19 months ago

  • Component changed from Multisite to Plugins
  • Focuses multisite added

comment:11 @jeremyfelt8 months ago

  • Type changed from defect (bug) to enhancement

Ideas on how to solve this would be interesting. I like the idea of showing off some plugins that are activated network wide to site owners. Here's the IRC conversation to punt before 3.4 shipped.

  • A network plugin could offer site specific settings through a settings link on this page, though that's not something that should occur by default as most plugins won't be expecting that.
  • Network admins may want to hide some plugins from this list.

Would a filter that defaults to false work? Then a network admin could opt in with a plugin to show the plugins.

comment:12 @wpdavis12 days ago

yes plz. At the very least, a filter or site setting would be nice. It would help site owners better understand the behavior of their sites, which can be hard to do if there are plugins running you don't know about. Even as a network admin, I'm often confused if I look at a site's activated plugins and don't see what I'm expecting.

comment:13 @Ipstenu12 days ago

At this point, while useful, it would need to be something people could disable or filter. A lot of networks don't want users to know what plugins are network active or not, since it's like mu plugins. They can't do anything about it and have no debug capabilities, so it doesn't matter for anything other than 'what plugin am I using?' informationally.

That said, it would help debug site specific issues.

Maybe, like mu, a separate tab for network wide plugins? That would easily differentiate for per site admins.

comment:14 @jeremyfelt9 days ago

I'm wondering if we could start by having it only visible for network (super) admins with a filter to enable for site administrators that have plugin access. I know I've gone crazy before as a super admin trying to figure out where a plugin is.

comment:15 @Ipstenu9 days ago

I like that idea Jeremy. My gut tells me that a lot of people who keep a locked down network (which is a higher number than one might think) would prefer this.

Note: See TracTickets for help on using tickets.