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:
parent
7440e5516a
commit
d71468418b
@ -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 ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user