WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 3 years ago

#28085 assigned enhancement

Add a "Recently Updated" Plugins' view

Reported by: juliobox Owned by: swissspidy
Milestone: Future Release Priority: normal
Severity: normal Version: 3.9
Component: Plugins Keywords: has-patch needs-refresh shiny-updates
Focuses: administration Cc:
PR Number:

Description

Hello

I will propose a new "view" in the plugins list. Like "Recently Active", a "Recently Updated" can be useful to know which plugins have been .... recently updated, obviously.

I did this as a plugin, but i think it could be logical to get this in core, here come my (first) core patch.

Also, i add you this snippet, i don't know where to put this function i use each time before the 'upgrader_process_complete' hook.

function wp_set_recently_updated( $array ) {
	$recently_updated = get_option( 'recently_updated' );
	foreach ( $array['plugins'] as $plugin ) {
		$recently_updated[ $plugin ] = time();
	}
	update_option( 'recently_updated', $recently_updated );
}

Attachments (1)

28085.patch (19.6 KB) - added by juliobox 5 years ago.
Patch to add a new view to plugins' list

Download all attachments as: .zip

Change History (12)

@juliobox
5 years ago

Patch to add a new view to plugins' list

#1 @juliobox
5 years ago

  • Keywords has-patch added

#2 @juliobox
5 years ago

  • Keywords needs-testing 2nd-opinion added

#3 follow-up: @SergeyBiryukov
5 years ago

  • Focuses administration added; accessibility removed
  • Version changed from trunk to 3.9

Related: #19573

#4 in reply to: ↑ 3 @jdgrimes
5 years ago

+1

Replying to SergeyBiryukov:

Related: #19573

So nobody gets confused, #19573 was about the most recently updated plugins on wp.org, whereas 28085.patch is for the plugins that the user has most recently updated on their site.

#6 @helen
5 years ago

I think this makes a lot of sense when auto updates are enabled for plugins. Not as sure about by default, though, and I'd want to further consider what gets shown - changelog seems more appropriate than description.

#7 @markoheijnen
5 years ago

A part of the plugin I wrote is this. Check http://ps.w.org/site-manager/assets/screenshot-2.png?rev=881110. It's still a Work in Process. Special what Helen mention is what do you show the users.

#8 @dd32
5 years ago

To throw another idea on the stack - I've always thought that the main Updates page would work well with a osx-style update history, showing whats available for update, and when/what/changelog of updates that have already been performed (Automated, or manual).

#9 follow-up: @juliobox
4 years ago

Hello guys, what do we need to clode this ticket? Thanks !

#10 in reply to: ↑ 9 @DrewAPicture
4 years ago

  • Keywords needs-refresh added; needs-testing 2nd-opinion removed

Replying to juliobox:

Hello guys, what do we need to clode this ticket? Thanks !

We'll need a refreshed patch for starters. If you could generate that from the root instead of the wp-admin directory, that would be helpful as well :-)

#11 @swissspidy
3 years ago

  • Keywords shiny-updates added
  • Milestone changed from Awaiting Review to Future Release
  • Owner set to swissspidy
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.