[wp-trac] [WordPress Trac] #12808: TARGET attribute in menus for 3.0
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 2 08:00:40 UTC 2010
#12808: TARGET attribute in menus for 3.0
--------------------------+-------------------------------------------------
Reporter: ryanhellyer | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version: 3.0
Severity: normal | Keywords: menus, legacy, attribute, html, validation
--------------------------+-------------------------------------------------
The new menu system in WP 3.0 is adding target attributes to links. These
are old legacy attributes and shouldn't be used anymore. It also causes
validation errors unless using a transitional doctype.
eg:
<a target="_self" href="http://localhost/services/">Services</a>
should be just:
<a href="http://localhost/services/">Services</a>
This bug is present in the latest menu system in trunk. I'm not sure how
to find the exact version number to provide here, but it was downloaded
today (2nd April 2010).
Hopefully I've filed this bug report correctly. I'm somewhat of a trac
n00b :p
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12808>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list