mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Twenty Fourteen: change sort order on Contributor template to put author with mosts posts at the top. Props iamtakashi, closes #26427; see #24863.
git-svn-id: https://develop.svn.wordpress.org/trunk@26657 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -359,6 +359,7 @@ function twentyfourteen_list_authors() {
|
||||
$contributor_ids = get_users( array(
|
||||
'fields' => 'ID',
|
||||
'orderby' => 'post_count',
|
||||
'order' => 'DESC',
|
||||
'who' => 'authors',
|
||||
) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user