[wp-trac] [WordPress Trac] #49151: Show a warning for plugins in WP admin that haven't received updates in a long time

WordPress Trac noreply at wordpress.org
Mon Jul 6 18:51:10 UTC 2020


#49151: Show a warning for plugins in WP admin that haven't received updates in a
long time
---------------------------------------+---------------------------------
 Reporter:  vincenthasselgard          |       Owner:  audrasjb
     Type:  feature request            |      Status:  accepted
 Priority:  normal                     |   Milestone:  5.5
Component:  Plugins                    |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-screenshots has-patch  |     Focuses:  ui, administration
---------------------------------------+---------------------------------

Comment (by elrae):

 A few notes on the patch:

 - This introduces a new variable on line 835 $plugin_slug but I don't see
 that variable actually being used within the foreach context. We should
 either remove that new line or use it for its intended purpose

 - do we need a new function to get the plugin info? I thought there was
 already a way to get all that information for plugins. If there isn't, an
 minimum we should probably store this health data in a transient (with a
 filter to allow custom plugins to tap into it) the same way the plugin
 update transient works. This way you aren't hit with 60+ curl calls on
 every page health load if you're loading it multiple times. Chances are if
 you're visiting the health area it's to fix problems so you'll constantly
 fix a problem, then reload to see if it's fixed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49151#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list