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
This commit is contained in:
westi 2010-01-10 15:02:12 +00:00
parent 3153720d35
commit 90d3ce241c
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 ) ) {