diff --git a/wp-includes/class.wp-scripts.php b/wp-includes/class.wp-scripts.php index 05cde56170..97c49d30dc 100644 --- a/wp-includes/class.wp-scripts.php +++ b/wp-includes/class.wp-scripts.php @@ -178,7 +178,7 @@ class WP_Scripts extends WP_Dependencies { $handle = 'jquery-core'; if ( is_callable( $l10n ) ) { - $l10n = call_user_func( $l10n ); + $l10n = call_user_func( $l10n, $handle, $object_name ); } if ( is_array($l10n) && isset($l10n['l10n_print_after']) ) { // back compat, preserve the code in 'l10n_print_after' if present diff --git a/wp-includes/version.php b/wp-includes/version.php index a5022fd87a..37ff6e7b54 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31032'; +$wp_version = '4.2-alpha-31033'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.