Remove this artificial limit, it messes up posting with seldom-used categories
git-svn-id: https://develop.svn.wordpress.org/trunk@3693 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7a732e3f20
commit
96a2e99428
|
@ -569,7 +569,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) {
|
||||
|
@ -765,7 +765,7 @@ function wp_dropdown_cats($currentcat = 0, $currentparent = 0, $parent = 0, $lev
|
|||
|
||||
function return_link_categories_list($parent = 0) {
|
||||
global $wpdb;
|
||||
return $wpdb->get_col("SELECT cat_ID FROM $wpdb->categories WHERE category_parent = $parent ORDER BY link_count DESC LIMIT 100");
|
||||
return $wpdb->get_col("SELECT cat_ID FROM $wpdb->categories WHERE category_parent = $parent ORDER BY link_count DESC");
|
||||
}
|
||||
|
||||
function wp_create_thumbnail($file, $max_side, $effect = '') {
|
||||
|
|
Loading…
Reference in New Issue