Changeset 5406 for trunk/bp-core/admin/bp-core-admin.php
- Timestamp:
- 11/28/2011 10:30:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-admin.php
r5302 r5406 29 29 $tabs = array( 30 30 '0' => array( 31 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-general- settings' ), 'admin.php' ) ),31 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-general-config' ), 'admin.php' ) ), 32 32 'name' => __( 'Components', 'buddypress' ) 33 33 ), … … 62 62 // Do other fun things 63 63 do_action( 'bp_admin_tabs' ); 64 } 65 66 /** 67 * Generates markup for a fallback top-level BuddyPress menu page, if the site is running 68 * a legacy plugin which hasn't been updated. If the site is up to date, this page 69 * will never appear. 70 * 71 * @see bp_core_admin_backpat_menu() 72 * @since 1.6 73 * @todo Add convenience links into the markup once new positions are finalised. 74 */ 75 function bp_core_admin_backpat_page() { 76 ?> 77 <div class="wrap"> 78 <?php screen_icon( 'buddypress'); ?> 79 <h2><?php _e( 'Why have all my BuddyPress menus disappeared?', 'buddypress' ); ?></h2> 80 81 <p><?php _e( "Don't worry! We've moved the BuddyPress options into more convenient and easier to find locations. You're seeing this page because you are running a legacy BuddyPress plugin which has not been updated.", 'buddypress' ); ?></p> 82 <p><?php printf( __( 'Components, Pages, Settings, and Forums, have been moved to <a href="%s">Settings > BuddyPress</a>. Profile Fields has been moved into the <a href="%s">Users</a> menu.', 'buddpress' ), network_admin_url( 'options-general.php?page=bp-general-config' ), network_admin_url( 'users.php?page=bp-profile-setup' ) ); ?></p> 83 </div> 84 <?php 64 85 } 65 86 … … 218 239 } 219 240 220 $base_url = bp_get_admin_url( add_query_arg( array( 'page' => 'bp-general- settings', 'updated' => 'true' ), 'admin.php' ) );241 $base_url = bp_get_admin_url( add_query_arg( array( 'page' => 'bp-general-config', 'updated' => 'true' ), 'admin.php' ) ); 221 242 222 243 wp_redirect( $base_url );
Note: See TracChangeset
for help on using the changeset viewer.