[wp-trac] [WordPress Trac] #9486: Scripts and tylesheets should not
have an ID
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 8 07:21:40 GMT 2009
#9486: Scripts and tylesheets should not have an ID
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: azaozz
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.8
Component: JavaScript | Version: 2.8
Severity: major | Keywords:
-------------------------------+--------------------------------------------
Just noticed on my dev site (2.8), things like this in the page's head
section:
{{{
<link rel='stylesheet' id='myscript' ....
}}}
It was inserted using wp_print_styles().
Some browsers (and validators) will complain if the same ID is used
further down in the actual content, and this can cause scripts to
ultimately fail. Are there any good reasons for these IDs to be set?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9486>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list