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

WordPress Trac noreply at wordpress.org
Tue Sep 23 15:04:36 UTC 2025


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

Comment (by sabernhardt):

 [attachment:"47976.diff"] still applies to trunk, though removing `'attr-
 lowercase' => true,` seems to work just as well as setting it to `false`.

 [https://htmlhint.com/changelog/#110-2021-12-31 HTMLHint 1.1.0] modified
 the rule to ignore camelCase attributes found in SVG elements. #42780
 might update HTMLHint.

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


More information about the wp-trac mailing list