Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/09/2014 01:25:36 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Move DO_NOT_UPGRADE_GLOBAL_TABLES check from bp_core_maybe_install_signups() to bp_core_upgrade_signups(). Fixes bug where wp_signups table would not get created on single-site installations when DO_NOT_UPGRADE_GLOBAL_TABLES is set. Fixes #5745.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/bp-core-schema.php

    r8563 r8565  
    492492    global $wpdb;
    493493
     494    // Bail if global tables should not be upgraded
     495    if ( defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) ) {
     496        return;
     497    }
     498
    494499    // Never use bp_core_get_table_prefix() for any global users tables
    495500    $wpdb->signups = $wpdb->base_prefix . 'signups';
Note: See TracChangeset for help on using the changeset viewer.