WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Andrew Nacin v0.4.1

Log Deprecated Notices

Logs the usage of deprecated files, functions, and function arguments, and identifies where the deprecated functionality is being used.

Log Deprecated Notices

The facts

Rating
5★ from 10
Active installs
900+
Price
Free
Last updated
25 Jun 2021
Added
Jun 2010
Requires WP
3.0
Tested up to
WP 5.8.15
Downloads
170,402

Our analysis

AI-assisted

Log Deprecated Notices is a WordPress plugin that logs the usage of deprecated files, functions, and function arguments. It helps developers identify where deprecated functionality is being used and provides alternatives when available. The plugin is designed for developers who want to keep their code up to date without relying solely on WP_DEBUG.

The plugin also logs incorrect function usage, which has been reported since WordPress version 3.1. It is still in development, with several features planned for future updates, such as plugin identification and better multisite support.

Best for: This plugin is suitable for developers looking to manage deprecated functionality in their WordPress sites.

What it does well

  • Logs usage of deprecated files and functions
  • Identifies deprecated functionality and offers alternatives
  • Does not require WP_DEBUG, though its use is recommended
  • Logs incorrect function usage since WordPress 3.1

Where it falls short

  • Still in development with many features planned
  • Limited functionality may require additional updates

Verdict

Log Deprecated Notices provides useful logging for developers, though it is still evolving and may lack some desired features.

From the developer

Andrew Nacin's own description of Log Deprecated Notices, lightly tidied.

This plugin logs the usage of deprecated files, functions, and function arguments. It identifies where the deprecated functionality is being used and offers the alternative if available.

This is a plugin for developers. WP_DEBUG is not needed, though its general usage is strongly recommended. Deprecated notices normally exposed by WP_DEBUG will be logged instead.

This plugin also logs incorrect function usage, which WordPress started reporting in 3.1.

Please report any bugs to plugins in a support thread.

This is young software. It works, but there’s a lot left on the todo (check out the Other Notes tab). Have an idea? Let me know.

Ideas

These are the various things on the @todo:

  • Plugin identification. Also, an unobstrusive note on plugins page next to said plugins.
  • Perhaps the ability to auto-purge the log.
  • Ability to filter on file or plugin in which the deprecated functionality is used.
  • Offer some kind of better multisite support.

Want to add something here? I’m all ears. plugins at andrewnacin.com or @nacin on Twitter.

I will prioritize these tasks based on feedback, so let me know what you’d like to see.

Read the full description on the official page →

Tagged as