Make WordPress Core


Ignore:
Timestamp:
01/21/2018 08:03:25 AM (7 years ago)
Author:
westonruter
Message:

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 for 4.9 branch.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/general-template.php

    r42265 r42532  
    31983198            'tagname-lowercase' => true,
    31993199            'attr-lowercase' => true,
    3200             'attr-value-double-quotes' => true,
     3200            'attr-value-double-quotes' => false,
    32013201            'doctype-first' => false,
    32023202            'tag-pair' => true,
Note: See TracChangeset for help on using the changeset viewer.