[wp-trac] [WordPress Trac] #28085: Add a "Recently Updated" Plugins' view

WordPress Trac noreply at wordpress.org
Thu May 1 00:04:19 UTC 2014


#28085: Add a "Recently Updated" Plugins' view
---------------------------+-----------------------------
 Reporter:  juliobox       |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Plugins        |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:  accessibility  |
---------------------------+-----------------------------
 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 );
 }
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28085>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list