WordPress.org

Make WordPress Core

Ticket #20047: 20047-2.diff

File 20047-2.diff, 734 bytes (added by CoenJacobs, 6 years ago)

Improved version of Ipstenu's patch, using 'author external' as rel

  • wp-includes/author-template.php

     
    140140 */
    141141function get_the_author_link() {
    142142        if ( get_the_author_meta('url') ) {
    143                 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>';
     143                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>';
    144144        } else {
    145145                return get_the_author();
    146146        }