Changeset 4107 for trunk/bp-core/admin/bp-core-admin.php
- Timestamp:
- 03/11/2011 06:02:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-admin.php
r4105 r4107 19 19 */ 20 20 function bp_core_activation_notice() { 21 global $wp_rewrite, $ current_blog, $bp;21 global $wp_rewrite, $wpdb, $bp; 22 22 23 23 if ( isset( $_POST['permalink_structure'] ) ) … … 27 27 return false; 28 28 29 if ( !empty( $ current_blog) ) {30 if ( $ current_blog->blog_id != BP_ROOT_BLOG ) {29 if ( !empty( $wpdb->blogid ) ) { 30 if ( $wpdb->blogid != BP_ROOT_BLOG ) { 31 31 return false; 32 32 } … … 91 91 */ 92 92 function bp_core_admin_settings() { 93 global $wpdb, $bp , $current_blog;93 global $wpdb, $bp; 94 94 95 95 $ud = get_userdata( $bp->loggedin_user->id );
Note: See TracChangeset
for help on using the changeset viewer.