Ticket #5745: 5745.patch
File 5745.patch, 786 bytes (added by , 11 years ago) |
---|
-
admin/bp-core-schema.php
491 491 function bp_core_upgrade_signups() { 492 492 global $wpdb; 493 493 494 // Bail if global tables should not be upgraded 495 if ( defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) ) { 496 return; 497 } 498 494 499 // Never use bp_core_get_table_prefix() for any global users tables 495 500 $wpdb->signups = $wpdb->base_prefix . 'signups'; 496 501 -
bp-core-update.php
425 425 * @return bool If signups table exists 426 426 */ 427 427 function bp_core_maybe_install_signups() { 428 429 // Bail if we are explicitly not upgrading global tables430 if ( defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) ) {431 return false;432 }433 434 428 global $wpdb; 435 429 436 430 // The table to run queries against