mirror of
https://github.com/WordPress/WordPress.git
synced 2024-07-06 19:54:54 +02:00
Remove this artificial limit, it messes up posting with seldom-used categories
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
deb71d2ba1
commit
87c5d9bfec
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user