diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index b02dfdda27..9e75261959 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -1256,7 +1256,8 @@ function wp_default_scripts( &$scripts ) { $scripts->add( 'wp-codemirror', '/wp-includes/js/codemirror/codemirror.min.js', array(), '5.29.1-alpha-ee20357' ); $scripts->add( 'csslint', '/wp-includes/js/codemirror/csslint.js', array(), '1.0.5' ); - $scripts->add( 'jshint', '/wp-includes/js/codemirror/jshint.js', array(), '2.9.5.999' ); + $scripts->add( 'esprima', '/wp-includes/js/codemirror/esprima.js', array(), '4.0.0' ); + $scripts->add( 'jshint', '/wp-includes/js/codemirror/fakejshint.js', array( 'esprima' ), '2.9.5' ); $scripts->add( 'jsonlint', '/wp-includes/js/codemirror/jsonlint.js', array(), '1.6.2' ); $scripts->add( 'htmlhint', '/wp-includes/js/codemirror/htmlhint.js', array(), '0.9.14-xwp' ); $scripts->add( 'htmlhint-kses', '/wp-includes/js/codemirror/htmlhint-kses.js', array( 'htmlhint' ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 1cfb0c8713..eb353a2664 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-RC2-44761'; +$wp_version = '5.1-RC2-44763'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.