Ticket #5563: 5563.05.patch
File 5563.05.patch, 820 bytes (added by , 11 years ago) |
---|
-
bp-core/bp-core-update.php
464 464 return true; 465 465 } 466 466 467 // Never use bp_core_get_table_prefix() for any global users tables 468 $wpdb->signups = $wpdb->base_prefix . 'signups'; 469 467 470 // Suppress errors because users shouldn't see this 468 471 $old_suppress = $wpdb->suppress_errors(); 469 472 470 473 // Never use bp_core_get_table_prefix() for any global users tables 471 474 // We also don't use $wpdb->signups because we want decisive evidence. 472 $table_exists = $wpdb->get_results( "DESCRIBE {$wpdb-> base_prefix}signups;" );475 $table_exists = $wpdb->get_results( "DESCRIBE {$wpdb->signups};" ); 473 476 474 477 // Restore previous error suppression setting 475 478 $wpdb->suppress_errors( $old_suppress );