WordPress.org

Make WordPress Core

Ticket #26538: wp-list-authors-feed-type.diff

File wp-list-authors-feed-type.diff, 465 bytes (added by MikeHansenMe, 6 years ago)

passes feed_type variable to get_author_feed_link

  • wp-includes/author-template.php

     
    377377                                $link .= '(';
    378378                        }
    379379
    380                         $link .= '<a href="' . get_author_feed_link( $author->ID ) . '"';
     380                        $link .= '<a href="' . get_author_feed_link( $author->ID, $feed_type ) . '"';
    381381
    382382                        $alt = $title = '';
    383383                        if ( !empty( $feed ) ) {