Make WordPress Core

Opened 13 years ago

Closed 9 years ago

#20468 closed enhancement (fixed)

Recently active network plugins

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

Description

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 9 years ago.
20468.2.patch (5.8 KB) - added by johnbillion 9 years ago.

Download all attachments as: .zip

Change History (16)

#1 @bananastalktome
13 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
13 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
11 years ago

  • Type changed from enhancement to feature request

#4 @jeremyfelt
11 years ago

  • Focuses ui added

#5 @jeremyfelt
11 years ago

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

#6 @wonderboymusic
9 years ago

@johnbillion - curious what is still left here?

#7 @johnbillion
9 years 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.

@johnbillion
9 years ago

#8 @johnbillion
9 years 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.

@johnbillion
9 years ago

#9 @johnbillion
9 years ago

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

#10 @desrosj
9 years 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.


9 years ago

#12 @mmarzeotti
9 years ago

Applied patch and tested. Everything worked great for me!

#13 @desrosj
9 years 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
9 years 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.