#18128 closed defect (bug) (fixed)
Remove unsupported sequential link types
Reported by: | Elpie | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.3 | Priority: | normal |
Severity: | normal | Version: | 3.2.1 |
Component: | Validation | Keywords: | has-patch |
Focuses: | Cc: |
Description
All sequential link types used in WordPress, with the exception of the link rel='prev' and link rel='next' that are output by adjacent_posts_rel_link_wp_head, are unsupported by any browser or assistive device.
These were considered in the early drafts of the HTML5 spec but were officially removed last year. See: http://lists.w3.org/Archives/Public/public-html/2010Nov/0042.html
Now that the default theme shipping with WordPress is using HTML5 it makes sense to remove the unsupported link types. Leaving them in invalidates TwentyEleven and once the HTML testing tools are improved this will become obvious to users.
Recommend removing the relevant functions from link-template.php and the actions from default-filters.php
Attachments (2)
Change History (12)
#3
in reply to:
↑ 2
@
13 years ago
Replying to kawauso:
Umm... it needs to be the other way around ;)
All sequential link types need to be removed except adjacent_posts_rel_link_wp_head
I don't have access to svn at the moment so can't submit a patch (sorry!) but the ones to remove are:
'index_rel_link'
'parent_post_rel_link'
'start_post_rel_link'
Those are the invalid rel links.
#6
@
13 years ago
- Milestone changed from Awaiting Review to 3.3
- Owner set to nacin
- Status changed from new to accepted
Just finished reading http://lists.w3.org/Archives/Public/public-html/2011Feb/att-0481/issue-118-decision.html, which has the full decision.
See also: http://core.trac.wordpress.org/ticket/14796