WordPress.org

Ready to get started?Download WordPress

Forums

How do I trace impact of changes in admin-functions.php? (1 post)

  1. venator48
    Member
    Posted 7 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags