mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user