[wp-hackers] What Is Deprecated Argument Run?

Andrew Nacin wp at andrewnacin.com
Tue Aug 31 03:45:18 UTC 2010


On Mon, Aug 30, 2010 at 11:27 PM, Raj <list at expost.org> wrote:

> What is the "deprecated_argument_run " action used for? Why is it called so
> many times in every page request?


It is run when deprecated function arguments are used. If I had to guess, a
plugin or theme is using a lot of deprecated arguments.

You can track deprecated usage using this hook (and a few others). One such
plugin that logs deprecated notices is
http://wordpress.org/extend/plugins/log-deprecated-notices/.

If you turn on WP_DEBUG, you'll see the many E_NOTICEs being triggered.


More information about the wp-hackers mailing list