Ticket #3186: 3186-get_author_link.diff

File 3186-get_author_link.diff, 512 bytes (added by Nazgul, 6 years ago)
  • wp-includes/feed.php

     
    102102       if ('' == $permalink_structure) { 
    103103                                 $link = get_option('home') . '?feed=rss2&author=' . $author_id; 
    104104       } else { 
    105                                  $link = get_author_link(0, $author_id, $author_nicename); 
     105                                 $link = get_author_posts_url($author_id, $author_nicename); 
    106106                                 $link = $link . "feed/"; 
    107107       } 
    108108