From 90d3ce241c7df2013381b75617f46cc236e25e16 Mon Sep 17 00:00:00 2001 From: westi Date: Sun, 10 Jan 2010 15:02:12 +0000 Subject: [PATCH] Pass $version to deprecated_argument_run action hook. See #11386. git-svn-id: http://svn.automattic.com/wordpress/trunk@12686 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index c0081b74d..0d4ee8cc7 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -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 ) ) {