Don't show 0 as a month.

git-svn-id: https://develop.svn.wordpress.org/trunk@3202 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2005-11-23 07:57:58 +00:00
parent 7193d2f5e4
commit a0556647af
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -494,7 +494,7 @@ function checked($checked, $current) {
function return_categories_list($parent = 0) {
global $wpdb;
return $wpdb->get_col("SELECT cat_ID FROM $wpdb->categories WHERE category_parent = $parent");
return $wpdb->get_col("SELECT cat_ID FROM $wpdb->categories WHERE category_parent = $parent ORDER BY category_count DESC LIMIT 100");
}
function sort_cats($cat1, $cat2) {