Pass feed_type arg in wp_list_authors() to get_author_feed_link().

Adds a slate of tests for wp_list_authors().

props MikeHansenMe.
fixes #26538.

Built from https://develop.svn.wordpress.org/trunk@27550


git-svn-id: http://core.svn.wordpress.org/trunk@27393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-03-15 04:43:15 +00:00
parent 5803e838e4
commit 944151ec8e

View File

@ -385,7 +385,7 @@ function wp_list_authors($args = '') {
$link .= '(';
}
$link .= '<a href="' . get_author_feed_link( $author->ID ) . '"';
$link .= '<a href="' . get_author_feed_link( $author->ID, $feed_type ) . '"';
$alt = $title = '';
if ( !empty( $feed ) ) {