[wp-trac] [WordPress Trac] #20047: get_the_author_link() Should default to rel="author"

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 5 12:53:28 UTC 2012


#20047: get_the_author_link() Should default to rel="author"
-------------------------+--------------------
 Reporter:  Ipstenu      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.4
Component:  General      |     Version:  3.3.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+--------------------
Changes (by husobj):

 * cc: ben@… (added)


Comment:

 I believe sirzooro is correct.

 In this instance the get_the_author_link() gets the website URL that is
 entered into the text field on a user's profile which is usually an
 external URL (unless someone manually enters a link to the site site), not
 the users post archive page.

 The link to the users post archive page can be retrieved using
 the_author_posts_link() which already adds a rel="author" attribute.

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


More information about the wp-trac mailing list