Twenty Fourteen: change sort order on Contributor template to put author with mosts posts at the top. Props iamtakashi, closes #26427; see #24863.
Built from https://develop.svn.wordpress.org/trunk@26657 git-svn-id: http://core.svn.wordpress.org/trunk@26547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
52909e1956
commit
1b78eb0bb2
|
@ -359,6 +359,7 @@ function twentyfourteen_list_authors() {
|
|||
$contributor_ids = get_users( array(
|
||||
'fields' => 'ID',
|
||||
'orderby' => 'post_count',
|
||||
'order' => 'DESC',
|
||||
'who' => 'authors',
|
||||
) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue