Docs: Fix description for `$htmlhint` argument in code editor settings.

Introduced in [41558].

Props sabernhardt.
See #52628.
Built from https://develop.svn.wordpress.org/trunk@50583


git-svn-id: http://core.svn.wordpress.org/trunk@50196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
davidbaumwald 2021-03-25 20:00:05 +00:00
parent eaffb58ce8
commit bf267e05ca
2 changed files with 4 additions and 4 deletions

View File

@ -3534,7 +3534,7 @@ function wp_enqueue_editor() {
* @type array $codemirror Additional CodeMirror setting overrides. * @type array $codemirror Additional CodeMirror setting overrides.
* @type array $csslint CSSLint rule overrides. * @type array $csslint CSSLint rule overrides.
* @type array $jshint JSHint rule overrides. * @type array $jshint JSHint rule overrides.
* @type array $htmlhint JSHint rule overrides. * @type array $htmlhint HTMLHint rule overrides.
* } * }
* @return array|false Settings for the enqueued code editor, or false if the editor was not enqueued. * @return array|false Settings for the enqueued code editor, or false if the editor was not enqueued.
*/ */
@ -3625,7 +3625,7 @@ function wp_enqueue_code_editor( $args ) {
* @type array $codemirror Additional CodeMirror setting overrides. * @type array $codemirror Additional CodeMirror setting overrides.
* @type array $csslint CSSLint rule overrides. * @type array $csslint CSSLint rule overrides.
* @type array $jshint JSHint rule overrides. * @type array $jshint JSHint rule overrides.
* @type array $htmlhint JSHint rule overrides. * @type array $htmlhint HTMLHint rule overrides.
* } * }
* @return array|false Settings for the code editor. * @return array|false Settings for the code editor.
*/ */
@ -3962,7 +3962,7 @@ function wp_get_code_editor_settings( $args ) {
* @type array $codemirror Additional CodeMirror setting overrides. * @type array $codemirror Additional CodeMirror setting overrides.
* @type array $csslint CSSLint rule overrides. * @type array $csslint CSSLint rule overrides.
* @type array $jshint JSHint rule overrides. * @type array $jshint JSHint rule overrides.
* @type array $htmlhint JSHint rule overrides. * @type array $htmlhint HTMLHint rule overrides.
* } * }
*/ */
return apply_filters( 'wp_code_editor_settings', $settings, $args ); return apply_filters( 'wp_code_editor_settings', $settings, $args );

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.8-alpha-50582'; $wp_version = '5.8-alpha-50583';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.