Ticket #3152: 3152.001.diff
File 3152.001.diff, 1.0 KB (added by , 14 years ago) |
---|
-
bp-core/admin/bp-core-update.php
1003 1003 @setcookie( 'bp-wizard-step', '', time() - 3600, COOKIEPATH ); 1004 1004 1005 1005 // Redirect to the BuddyPress dashboard 1006 $redirect = is_multisite() ? network_admin_url( add_query_arg( array( 'page' => 'bp-general-settings' ) ) ) : admin_url( add_query_arg( array( 'page' => 'bp-general-settings' )) );1006 $redirect = is_multisite() ? network_admin_url( add_query_arg( array( 'page' => 'bp-general-settings' ), 'admin.php' ) ) : admin_url( add_query_arg( array( 'page' => 'bp-general-settings' ), 'admin.php' ) ); 1007 1007 1008 1008 wp_redirect( $redirect ); 1009 1009 … … 1063 1063 $active_components = apply_filters( 'bp_active_components', get_site_option( 'bp-active-components' ) ); 1064 1064 1065 1065 require_once( dirname( __FILE__ ) . '/bp-core-schema.php' ); 1066 1066 1067 1067 // Core DB Tables 1068 1068 bp_core_install_notifications(); 1069 1069