Changeset 3935
- Timestamp:
- 01/26/2011 08:22:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-update.php
r3796 r3935 50 50 51 51 // Setup wizard steps 52 $steps = array(); 53 52 54 if ( 'new' == $this->setup_type ) { 53 55 $steps = array( … … 58 60 __( 'Finish', 'buddypress' ) 59 61 ); 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 }68 62 69 63 // Update wizard steps
Note: See TracChangeset
for help on using the changeset viewer.