diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index f06a236d84..5d2240d0ba 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -654,7 +654,7 @@ function wp_generate_tag_cloud( $tags, $args = '' ) { if ( 'name' == $orderby ) uasort( $tags, create_function('$a, $b', 'return strnatcasecmp($a->name, $b->name);') ); else - uasort( $tags, create_function('$a, $b', 'return ($a->count < $b->count);') ); + uasort( $tags, create_function('$a, $b', 'return ($a->count > $b->count);') ); if ( 'DESC' == $order ) $tags = array_reverse( $tags, true );