diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 6afef35b38..a4d0a01d9b 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -523,7 +523,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 ORDER BY category_count DESC LIMIT 100"); + return $wpdb->get_col("SELECT cat_ID FROM $wpdb->categories WHERE category_parent = $parent ORDER BY category_count DESC"); } function sort_cats($cat1, $cat2) {