Make WordPress Core

Opened 3 years ago

Closed 2 weeks 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 weeks ago.
20468.2.patch (5.8 KB) - added by johnbillion 2 weeks ago.

Download all attachments as: .zip

Change History (16)

comment:1 @bananastalktome3 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?

comment:2 @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:3 @johnbillion2 years ago

  • Type changed from enhancement to feature request

comment:4 @jeremyfelt21 months ago

  • Focuses ui added

comment:5 @jeremyfelt20 months ago

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

comment:6 @wonderboymusic3 weeks ago

@johnbillion - curious what is still left here?

comment:7 @johnbillion3 weeks 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.

@johnbillion2 weeks ago

comment:8 @johnbillion2 weeks 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.

@johnbillion2 weeks ago

comment:9 @johnbillion2 weeks ago

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

comment:10 @desrosj2 weeks ago

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

comment:11 @slackbot2 weeks ago

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

comment:12 @mmarzeotti2 weeks ago

Applied patch and tested. Everything worked great for me!

comment:13 @desrosj2 weeks ago

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

comment:14 @johnbillion2 weeks 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.