Changeset 4258
- Timestamp:
- 04/23/2011 05:04:59 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/admin/bp-core-update.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-update.php
r4254 r4258 1007 1007 @setcookie( 'bp-wizard-step', '', time() - 3600, COOKIEPATH ); 1008 1008 1009 // Load BP, so that the redirect is successful 1010 require_once( WP_PLUGIN_DIR . '/buddypress/bp-core/bp-core-loader.php' ); 1011 1009 1012 // Redirect to the BuddyPress dashboard 1010 $redirect = is_multisite() ? network_admin_url( add_query_arg( array( 'page' => 'bp-general-settings' ) ) ) : admin_url( add_query_arg( array( 'page' => 'bp-general-settings' )) );1013 $redirect = is_multisite() ? add_query_arg( array( 'page' => 'bp-general-settings' ), network_admin_url( 'admin.php' ) ) : add_query_arg( array( 'page' => 'bp-general-settings' ), admin_url( 'admin.php' ) ); 1011 1014 1012 1015 wp_redirect( $redirect );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)