[wp-trac] [WordPress Trac] #5168: Script tag in WP 2.3 widgets.php does not validate

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 8 21:40:28 GMT 2007


#5168: Script tag in WP 2.3 widgets.php does not validate
---------------------+------------------------------------------------------
 Reporter:  dsiemon  |       Owner:  anonymous                                             
     Type:  defect   |      Status:  new                                                   
 Priority:  normal   |   Milestone:  2.0.eventually                                        
Component:  General  |     Version:  2.3                                                   
 Severity:  normal   |    Keywords:  validate, javascript, lang, type, widgets, widgets.php
---------------------+------------------------------------------------------
 Line 633 in Wordpress 2.3 widgets.php outputs:

 <script lang='javascript'>

 The "lang" attribute of the script tag is deprecated. This causes HTML
 validation via the W3C's validator to fail. Two errors are reported. The
 first is the use of the deprecated lang attribute and the second is the
 missing type attribute which should be set to "text/javascript".

 [http://www.w3schools.com/tags/tag_script.asp]

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5168>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list