Skip to content

Commit 05aa7d1

Browse files
committed
External Libraries: Update htmlhint to 1.9.2.
Updates the `htmlhint` library from version `1.8.0` to `1.9.2`. The `devDependencies` entry in `package.json` and the version registered for the bundled `htmlhint` script in `wp_default_scripts()` are both bumped. Props desrosj, khokansardar, luisdavid01, mukesh27, wildworks. Fixes #65632. git-svn-id: https://develop.svn.wordpress.org/trunk@62750 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 5a4a061 commit 05aa7d1

3 files changed

Lines changed: 66 additions & 59 deletions

File tree

package-lock.json

Lines changed: 64 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"esprima": "4.0.1",
9393
"formdata-polyfill": "4.0.10",
9494
"hoverintent": "2.2.1",
95-
"htmlhint": "1.8.0",
95+
"htmlhint": "1.9.2",
9696
"imagesloaded": "5.0.0",
9797
"jquery": "3.7.1",
9898
"jquery-color": "3.0.0",

src/wp-includes/script-loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ function wp_default_scripts( $scripts ) {
12071207
$scripts->add( 'esprima', '/wp-includes/js/codemirror/esprima.js', array(), '4.0.1' ); // Deprecated.
12081208
$scripts->add( 'jshint', '/wp-includes/js/codemirror/fakejshint.js', array( 'esprima' ), '2.9.5' ); // Deprecated.
12091209
$scripts->add( 'jsonlint', '/wp-includes/js/codemirror/jsonlint.js', array(), '1.6.3' );
1210-
$scripts->add( 'htmlhint', '/wp-includes/js/codemirror/htmlhint.js', array(), '1.8.0' );
1210+
$scripts->add( 'htmlhint', '/wp-includes/js/codemirror/htmlhint.js', array(), '1.9.2' );
12111211
$scripts->add( 'htmlhint-kses', '/wp-includes/js/codemirror/htmlhint-kses.js', array( 'htmlhint' ) );
12121212
$scripts->add( 'code-editor', "/wp-admin/js/code-editor$suffix.js", array( 'jquery', 'wp-codemirror', 'underscore' ) );
12131213
$scripts->add( 'wp-theme-plugin-editor', "/wp-admin/js/theme-plugin-editor$suffix.js", array( 'common', 'wp-util', 'wp-sanitize', 'jquery', 'jquery-ui-core', 'wp-a11y', 'underscore' ), false, 1 );

0 commit comments

Comments
 (0)