Pass $version to deprecated_argument_run action hook. See #11386.

git-svn-id: https://develop.svn.wordpress.org/trunk@12686 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-01-10 15:02:12 +00:00
parent 7440e5516a
commit d71468418b
1 changed files with 1 additions and 1 deletions

View File

@ -3058,7 +3058,7 @@ function _deprecated_file( $file, $version, $replacement = null ) {
*/
function _deprecated_argument( $function, $version, $message = null ) {
do_action( 'deprecated_argument_run', $function, $message );
do_action( 'deprecated_argument_run', $function, $message, $version );
// Allow plugin to filter the output error trigger
if ( WP_DEBUG && apply_filters( 'deprecated_argument_trigger_error', true ) ) {