Changeset 5575 for trunk/bp-core/admin/bp-core-functions.php
- Timestamp:
- 12/20/2011 03:43:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-functions.php
r5574 r5575 72 72 73 73 remove_submenu_page( $page, 'bb-forums-setup' ); 74 remove_submenu_page( $page, 'bp- slugs');74 remove_submenu_page( $page, 'bp-page-settings' ); 75 75 remove_submenu_page( $page, 'bp-settings' ); 76 76 } … … 286 286 287 287 if ( !empty( $orphaned_components ) ) { 288 $admin_url = bp_get_admin_url( add_query_arg( array( 'page' => 'bp- slugs' ), 'admin.php' ) );288 $admin_url = bp_get_admin_url( add_query_arg( array( 'page' => 'bp-page-settings' ), 'admin.php' ) ); 289 289 $notice = sprintf( __( 'The following active BuddyPress Components do not have associated WordPress Pages: %2$s. <a href="%1$s" class="button-secondary">Repair</a>', 'buddypress' ), $admin_url, '<strong>' . implode( '</strong>, <strong>', $orphaned_components ) . '</strong>' ); 290 290 … … 311 311 // If there are duplicates, post a message about them 312 312 if ( !empty( $dupe_names ) ) { 313 $admin_url = bp_get_admin_url( add_query_arg( array( 'page' => 'bp- slugs' ), 'admin.php' ) );313 $admin_url = bp_get_admin_url( add_query_arg( array( 'page' => 'bp-page-settings' ), 'admin.php' ) ); 314 314 $notice = sprintf( __( 'Each BuddyPress Component needs its own WordPress page. The following WordPress Pages have more than one component associated with them: %2$s. <a href="%1$s" class="button-secondary">Repair</a>', 'buddypress' ), $admin_url, '<strong>' . implode( '</strong>, <strong>', $dupe_names ) . '</strong>' ); 315 315 … … 352 352 /* Settings Icon */ 353 353 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image a img, 354 ul#adminmenu li.toplevel_page_bp- settings .wp-menu-image a img {354 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image a img { 355 355 display: none; 356 356 } 357 357 358 358 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image a, 359 ul#adminmenu li.toplevel_page_bp- settings .wp-menu-image a {359 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image a { 360 360 background-image: url( <?php echo plugins_url( 'buddypress/bp-core/images/admin_menu_icon.png' ) ?> ) !important; background-position: -1px -32px; 361 361 } 362 362 363 363 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image a, 364 ul#adminmenu li.toplevel_page_bp- settings:hover .wp-menu-image a,364 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image a, 365 365 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image a, 366 ul#adminmenu li.toplevel_page_bp- settings.wp-has-current-submenu .wp-menu-image a {366 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image a { 367 367 background-position: -1px 0; 368 368 } … … 417 417 ), 418 418 '1' => array( 419 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp- slugs' ), 'admin.php' ) ),419 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-page-settings' ), 'admin.php' ) ), 420 420 'name' => __( 'Permalinks', 'buddypress' ) 421 421 ), … … 429 429 if ( bp_is_active( 'forums' ) ) { 430 430 $tabs['3'] = array( 431 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'b p-forums'), 'admin.php' ) ),431 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bb-forums-setup' ), 'admin.php' ) ), 432 432 'name' => __( 'Forums', 'buddypress' ) 433 433 );
Note: See TracChangeset
for help on using the changeset viewer.