Ticket #6940: 6940.01-multisite-check.patch
File 6940.01-multisite-check.patch, 650 bytes (added by , 9 years ago) |
---|
-
src/bp-core/admin/bp-core-admin-functions.php
231 231 * Check to make sure that the blog setup routine has run. This can't 232 232 * happen during the wizard because of the order which the components 233 233 * are loaded. 234 * 235 * Do this only on multisite installs. 234 236 */ 235 if ( bp_is_active( 'blogs' ) ) {237 if ( bp_is_active( 'blogs' ) && is_multisite() ) { 236 238 $bp = buddypress(); 237 239 $count = $wpdb->get_var( "SELECT COUNT(*) FROM {$bp->blogs->table_name}" ); 238 240