From 11af5ae5cd96ae2308de952345c898fe0d87413a Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 21 Jan 2018 08:01:31 +0000 Subject: [PATCH] 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 --- wp-includes/general-template.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 4fda9c725b..a089fa223e 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -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, diff --git a/wp-includes/version.php b/wp-includes/version.php index 8f73e195c8..bb21af9145 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.