Make WordPress Core


Ignore:
Timestamp:
04/22/2006 12:31:27 AM (18 years ago)
Author:
ryan
Message:

Remove this artificial limit, it messes up posting with seldom-used categories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-admin/admin-functions.php

    r3587 r3748  
    524524function return_categories_list($parent = 0) {
    525525    global $wpdb;
    526     return $wpdb->get_col("SELECT cat_ID FROM $wpdb->categories WHERE category_parent = $parent ORDER BY category_count DESC LIMIT 100");
     526    return $wpdb->get_col("SELECT cat_ID FROM $wpdb->categories WHERE category_parent = $parent ORDER BY category_count DESC");
    527527}
    528528
Note: See TracChangeset for help on using the changeset viewer.