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

WordPress Trac noreply at wordpress.org
Thu Sep 5 04:43:40 UTC 2019


#47976: HTML attributes in uppercase show error in widgets
--------------------------------+-----------------------------
 Reporter:  sudhir600           |      Owner:  (none)
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Widgets             |    Version:
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 '''[=#point1 (1)] How to reproduce'''
 go to p-admin/widgets.php and add custom HTML.
 in custom html box if i add this html, it will error.

 `<div id="abcd" DATA-HREF="xerjss"></div>`

 '''[=#point1 (2)] Error -''' the attribute name of [ "DATA-HREF" ] must be
 in lowercase.

 '''[=#point1 (3)] Why need this'''
 some ad providers (such as flipkart) supply code where attributes are
 uppercase.

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


More information about the wp-trac mailing list