Skip to:
Content

BuddyPress.org

Changeset 3935


Ignore:
Timestamp:
01/26/2011 08:22:55 PM (14 years ago)
Author:
djpaul
Message:

Always show permalink screen in wizard on new installs (otherwise it looks janky when it disappears part-way through the wizard on a new, clean install).
Fixes PHP warning in wizard. Also fixes #2720.

File:
1 edited

Legend:

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

    r3796 r3935  
    5050
    5151        // Setup wizard steps
     52        $steps = array();
     53
    5254        if ( 'new' == $this->setup_type ) {
    5355            $steps = array(
     
    5860                __( 'Finish',     'buddypress' )
    5961            );
    60 
    61             require_once ( ABSPATH . '/wp-admin/includes/file.php' );
    62 
    63             $home_path = get_home_path();
    64             if ( !empty( $wp_rewrite->permalink_structure ) && ( file_exists( $home_path . '.htaccess' ) || file_exists( $home_path . 'web.config' ) ) ) {
    65                 unset( $steps[2] );
    66                 $steps = array_merge( array(), $steps );
    67             }
    6862
    6963        // Update wizard steps
Note: See TracChangeset for help on using the changeset viewer.