Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/20/2011 03:43:16 PM (12 years ago)
Author:
djpaul
Message:

Fix forum settings link in admin, and revert other admin slugs back to their 1.5 names. See #3840

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-update.php

    r5524 r5575  
    193193
    194194                $step_count  = count( $this->steps ) - 1;
    195                 $wiz_or_set  = $this->current_step >= $step_count ? 'bp-general-config' : 'bp-wizard';
     195                $wiz_or_set  = $this->current_step >= $step_count ? 'bp-components' : 'bp-wizard';
    196196                $form_action = bp_core_update_do_network_admin() ? network_admin_url( add_query_arg( array( 'page' => $wiz_or_set ), 'admin.php' ) ) : admin_url( add_query_arg( array( 'page' => $wiz_or_set ), 'admin.php' ) );
    197197            ?>
     
    11611161
    11621162            // Redirect to the BuddyPress dashboard
    1163             $redirect = bp_core_update_do_network_admin() ? add_query_arg( array( 'page' => 'bp-general-config' ), network_admin_url( 'settings.php' ) ) : add_query_arg( array( 'page' => 'bp-general-config' ), admin_url( 'options-general.php' ) );
     1163            $redirect = bp_core_update_do_network_admin() ? add_query_arg( array( 'page' => 'bp-components' ), network_admin_url( 'settings.php' ) ) : add_query_arg( array( 'page' => 'bp-components' ), admin_url( 'options-general.php' ) );
    11641164
    11651165            wp_redirect( $redirect );
Note: See TracChangeset for help on using the changeset viewer.