Log Deprecated Notices

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

Author:Andrew Nacin (profile at wordpress.org)
WordPress version required:3.0
WordPress version tested:5.8.9
Plugin version:0.4.1
Added to WordPress repository:27-06-2010
Last updated:25-06-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:10
Plugin URI:http://wordpress.org/extend/plugins/log-depre...
Total downloads:154 334
Active installs:1 000+
plugin download
Click to start download

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.


Screenshots