Skip to content

Displays a "Last Updated" date for all of your installed plugins from the WordPress Plugin Directory.

License

Notifications You must be signed in to change notification settings

boogah/plu-redux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

PLU Redux

Displays a "Last Updated" date for all of your plugins installed by way of the WordPress Plugin Directory.

On plugins that have not been updated in over two years, a warning emoji is displayed next to the last updated date.

Installation

  1. Upload the plugin files to the /wp-content/plugins/plu-redux directory via SFTP, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. That's it! The plugin will automatically display the last updated date for installed plugins available in the WordPress Plugin Directory.

Usage

Once activated, the plugin will automatically display the last updated date for each plugin in your site's list of installed plugins.

For the Site Health check, navigate to "Tools → Site Health" in your WordPress dashboard.

Site Health Check

The custom Site Health check will list any installed plugins that have not been updated in 2 years.

  • If it finds any such plugins, it will return a "critical" status with the names of the old plugins.
  • If it doesn't find any, it will return a "good" status, indicating that all installed plugins have been updated within the last 2 years.

WP-CLI Command

PLU Redux includes a WP-CLI command that displays the "Last Updated" date of installed plugins. Here's how you use it:

wp plu list

This command will output a list of installed (WordPress Plugin Directory listed) plugins alongside their "Last Updated" date:

+-----------------------------------+---------------------------+
| Plugin Name                       | Last Updated              |
+-----------------------------------+---------------------------+
| Akismet Anti-Spam Spam Protection | 2023-04-05 10:17am GMT    |
| Lazy Load                         | 2018-11-22 04:43am GMT  ← |
| Proxy Cache Purge                 | 2022-06-09 10:57pm GMT    |
+-----------------------------------+---------------------------+

Plugins that have not been updated in over two years will be highlighted with an arrow (←) to the right of the "Last Updated" date.

Frequently Asked Questions

How does the plugin determine if a plugin hasn't been updated in over two years?

The plugin checks a public API — and caches the results in a transient for 24 hours — to see if the last updated date for a plugin installed on your site is older than two years. If it is, a warning emoji (⚠️) is displayed next to the "Last Updated" date.

Can I customize the warning emoji or the text that's displayed?

Nope! The plugin does not currently support customization of the warning emoji or the text that's displayed.

Decisions, not options!

Does the plugin work with any plugins that are not in the WordPress Plugin Directory?

Sadly, no. PLU Redux only works with plugins that are available in the WordPress Plugin Directory.

Changelog

2.2.3

  • Added aria-label to warning emoji to improve accessability. Special thanks to Dale Reardon for letting me know about this!

2.2.2

  • Making an attempt to meet WP Plugin Directory requirements.
  • Added some documentation around the site health check to the README.

2.2.1

  • Plugin now uses site's preferred date format.
  • Also cleaned up some wonky formatting. 😅

2.2.0

  • Added a Site Health check that lists any outdated plugins.

2.1.1

  • Fixed bug that would prevent plugin from being installable when WP-CLI is not available.
  • Added Git Updater header.

2.1.0

  • Added a WP-CLI command.

2.0.0

  • Brought code up to date.
  • Added feature where a warning emoji is displayed next to plugins that have not been updated in over two years.

1.0.2

License

This plugin is released under the GPL-2.0+ license. See the LICENSE.txt file for more details.

About

Displays a "Last Updated" date for all of your installed plugins from the WordPress Plugin Directory.

Resources

License

Stars

Watchers

Forks

Languages