Make WordPress Core


Ignore:
Timestamp:
04/27/2012 06:17:41 PM (12 years ago)
Author:
nacin
Message:

Add 'author' to rel attribute for get_the_author_link(). props sirzooro, CoenJacobs, Ipstenu. fixes #20047.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/author-template.php

    r20575 r20615  
    136136function get_the_author_link() {
    137137    if ( get_the_author_meta('url') ) {
    138         return '<a href="' . get_the_author_meta('url') . '" title="' . esc_attr( sprintf(__("Visit %s&#8217;s website"), get_the_author()) ) . '" rel="external">' . get_the_author() . '</a>';
     138        return '<a href="' . get_the_author_meta('url') . '" title="' . esc_attr( sprintf(__("Visit %s&#8217;s website"), get_the_author()) ) . '" rel="author external">' . get_the_author() . '</a>';
    139139    } else {
    140140        return get_the_author();
Note: See TracChangeset for help on using the changeset viewer.