[wp-trac] [WordPress Trac] #47976: HTML attributes in uppercase show error in widgets

WordPress Trac noreply at wordpress.org
Tue Mar 23 22:17:43 UTC 2021

#47976: HTML attributes in uppercase show error in widgets
 Reporter:  sudhir600                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Widgets                              |     Version:  4.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots dev-feedback has-    |     Focuses:
  patch                                          |  administration
Changes (by sabernhardt):

 * keywords:  has-screenshots dev-feedback => has-screenshots dev-feedback
 * version:  5.5.2 => 4.9


 [attachment:"47976.diff"] simply disables the error for uppercase letters
 in attributes.

 If the error is important to keep for most situations, the `attr-
 lowercase` rule could have an array of specific exceptions instead:

    ['viewBox', 'DATA-HREF']

 [https://htmlhint.com/docs/user-guide/rules/attr-lowercase HTMLHint user

Ticket URL: <https://core.trac.wordpress.org/ticket/47976#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list