Make WordPress Core

Opened 4 years ago

Closed 2 months ago

#20468 closed enhancement (fixed)

Recently active network plugins

Reported by: johnbillion Owned by: johnbillion
Milestone: 4.4 Priority: normal
Severity: normal Version: 3.0
Component: Plugins Keywords: has-patch needs-testing
Focuses: administration, multisite Cc:


There's no 'Recently Active' list on the Plugins screen in Network Admin. This should be simple enough to add in.

Attachments (2)

20468.patch (7.3 KB) - added by johnbillion 2 months ago.
20468.2.patch (5.8 KB) - added by johnbillion 2 months ago.

Download all attachments as: .zip

Change History (16)

#1 @bananastalktome
4 years ago

  • Cc bananastalktome@… added

I think this is because the *_option functions are being used for the 'recently_activated' option, which is causing plugins activated through the network plugins screen to appear in the primary site admin plugins screen as 'Recently Active' rather than in the network admin plugins screen. Since the same file (wp-admin/plugins.php) is used for both network admin & individual site admin plugin pages, it might mean using the *_site_option functions if is_network_admin().

I can try and patch if this sounds like the right approach...thoughts?

#2 @nacin
4 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().

#3 @johnbillion
2 years ago

  • Type changed from enhancement to feature request

#4 @jeremyfelt
22 months ago

  • Focuses ui added

#5 @jeremyfelt
22 months ago

  • Component changed from Network Admin to Plugins
  • Focuses administration added

#6 @wonderboymusic
2 months ago

@johnbillion - curious what is still left here?

#7 @johnbillion
2 months ago

  • Focuses ui removed
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 4.4
  • Owner set to johnbillion
  • Status changed from new to accepted
  • Type changed from feature request to enhancement

The Recently Activated list is still limited to individual sites on Multisite. Patch coming up.

2 months ago

#8 @johnbillion
2 months ago

  • Keywords has-patch needs-testing added; needs-patch removed

20468.patch implements recently network-active plugins on the network admin screen.

Wanted: testers to click things and test this.

#9 @johnbillion
2 months ago

First patch was broken. 20468.2.patch is the one to test.

#10 @desrosj
2 months ago

We will be testing for feedback this during the afternoon (EST) during a Contributing to WordPress Core workshop at WordCamp RI.

This ticket was mentioned in Slack in #core-multisite by jeremyfelt. View the logs.

2 months ago

#12 @mmarzeotti
2 months ago

Applied patch and tested. Everything worked great for me!

#13 @desrosj
2 months ago

Tested this as well. Few others tested during our Contributing to Core workshop today at WordCamp RI. All had the patch work properly.

#14 @johnbillion
2 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 34551:

Implement 'Recently Active' functionality for network-wide plugins in the Network Admin.

Fixes #20468
Thanks to WordCamp RI attendees for testing!

Note: See TracTickets for help on using tickets.