Make WordPress Core

Opened 3 years ago

Last modified 7 months 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:


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 3 years ago.
20104.2.diff (15.5 KB) - added by nacin 3 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 @Japh3 years ago

  • Cc japh@… added

comment:2 @DrewAPicture3 years ago

  • Cc xoodrew@… added

comment:3 @kawauso3 years ago

  • Cc kawauso added

@abackstrom3 years ago

comment:4 @abackstrom3 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 @jeremyfelt18 months ago

  • Component changed from Multisite to Plugins
  • Focuses multisite added

comment:11 @jeremyfelt7 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.

Note: See TracTickets for help on using tickets.