Support » Themes and Templates » How do I trace impact of changes in admin-functions.php?

  • I want to increase the number limit of categories

    In the admin-functions.php (in the wp-admin) folder changing this 100 to a larger number:

    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”);
    ————————————-

    Is there any reason to believe that a larger limit impacts WP functionality?

    Might the “category_count DESC LIMIT” also need to be changed in other files? If so, how do I figure out which ones?

  • The topic ‘How do I trace impact of changes in admin-functions.php?’ is closed to new replies.