Skip to:
Content

bbPress.org

Changeset 6242


Ignore:
Timestamp:
01/13/2017 07:10:12 PM (5 years ago)
Author:
johnjamesjacoby
Message:

Upgrade: Do not automatically run the upgrade routine on large installations with many users.

This is basically a no-brainer, and exactly what we've gone through across all of the WordPress.org network already.

See #2959.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/update.php

    r6241 r6242  
    323323             * @link https://bbpress.trac.wordpress.org/ticket/2959
    324324             */
    325             bbp_admin_upgrade_user_favorites();
    326             bbp_admin_upgrade_user_topic_subscriptions();
    327             bbp_admin_upgrade_user_forum_subscriptions();
     325            if ( ! wp_is_large_network( 'users' ) ) {
     326                bbp_admin_upgrade_user_favorites();
     327                bbp_admin_upgrade_user_topic_subscriptions();
     328                bbp_admin_upgrade_user_forum_subscriptions();
     329            }
    328330        }
    329331    }
Note: See TracChangeset for help on using the changeset viewer.