[wp-trac] [WordPress Trac] #24796: wp_enqueue_script causing HTML5 Validation Error

WordPress Trac noreply at wordpress.org
Thu Jul 18 18:02:41 UTC 2013


#24796: wp_enqueue_script causing HTML5 Validation Error
--------------------------+------------------------------
 Reporter:  tislam100     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Charset       |     Version:  3.5.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by nacin):

 Per my comment above:

 Replying to [comment:1 nacin]:
 > I'm not aware of the scripts API supporting or using the charset
 attribute, or even supporting inline JavaScript in such a way.

 I don't see how this is a bug in core. We don't go near the charset
 attribute when printing `<script>` tags.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24796#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list