From d27f6650fed2353dd956cf08d3335974a7f4309a Mon Sep 17 00:00:00 2001 From: David Baumwald Date: Thu, 25 Mar 2021 19:58:50 +0000 Subject: [PATCH] Docs: Fix description for `$htmlhint` argument in code editor settings. Introduced in [41558]. Props sabernhardt. See #52628. git-svn-id: https://develop.svn.wordpress.org/trunk@50583 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/general-template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index c82b97032c..66ddf82e4d 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -3534,7 +3534,7 @@ function wp_enqueue_editor() { * @type array $codemirror Additional CodeMirror setting overrides. * @type array $csslint CSSLint 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. */ @@ -3625,7 +3625,7 @@ function wp_enqueue_code_editor( $args ) { * @type array $codemirror Additional CodeMirror setting overrides. * @type array $csslint CSSLint 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. */ @@ -3962,7 +3962,7 @@ function wp_get_code_editor_settings( $args ) { * @type array $codemirror Additional CodeMirror setting overrides. * @type array $csslint CSSLint 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 );