Code Editor: Disable `attr-value-double-quotes` HTMLHint rule since too strict for user input.

Using single-quoted attribute values is not in any way invalid HTML.

Amends [41376].
Props sasiddiqui.
See #12423.
Fixes #42802.

Built from https://develop.svn.wordpress.org/trunk@42531


git-svn-id: http://core.svn.wordpress.org/trunk@42360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2018-01-21 08:01:31 +00:00
parent 5ecd978e74
commit 11af5ae5cd
2 changed files with 2 additions and 2 deletions

View File

@ -3250,7 +3250,7 @@ function wp_enqueue_code_editor( $args ) {
'htmlhint' => array(
'tagname-lowercase' => true,
'attr-lowercase' => true,
'attr-value-double-quotes' => true,
'attr-value-double-quotes' => false,
'doctype-first' => false,
'tag-pair' => true,
'spec-char-escape' => true,

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-42530';
$wp_version = '5.0-alpha-42531';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.