[wp-trac] Re: [WordPress Trac] #4209: Add rel="prev" to previous_post_link() and rel="next" to next_post_link()

WordPress Trac wp-trac at lists.automattic.com
Mon May 25 15:18:12 GMT 2009


#4209: Add rel="prev" to previous_post_link() and rel="next" to next_post_link()
----------------------------+-----------------------------------------------
 Reporter:  FekketCantenel  |       Owner:             
     Type:  enhancement     |      Status:  new        
 Priority:  normal          |   Milestone:  2.9        
Component:  Administration  |     Version:             
 Severity:  normal          |    Keywords:  needs-patch
----------------------------+-----------------------------------------------
Changes (by vladimir_kolesnikov):

 * cc: vladimir@… (added)


Comment:

 Replying to [comment:25 mtekk]:
 > The filters "next_posts_link_attributes" and
 "previous_posts_link_attributes" make implementing this quite difficult to
 do with out breaking any plugins that may add rel attributes using them.

 IMHO, plugins should also check if the rel attributte has already been
 added in order not to add it again :-)

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


More information about the wp-trac mailing list