Changeset 11997
- Timestamp:
- 04/27/2018 02:00:20 PM (8 years ago)
- Location:
- trunk/src/bp-core
- Files:
-
- 2 edited
-
admin/bp-core-admin-functions.php (modified) (1 diff)
-
classes/class-bp-admin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-functions.php
r11892 r11997 422 422 'name' => __( 'Components', 'buddypress' ) 423 423 ), 424 '2' => array( 425 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-settings' ), 'admin.php' ) ), 426 'name' => __( 'Options', 'buddypress' ) 427 ), 424 428 '1' => array( 425 429 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-page-settings' ), 'admin.php' ) ), 426 430 'name' => __( 'Pages', 'buddypress' ) 427 431 ), 428 ' 2' => array(429 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp- settings' ), 'admin.php' ) ),430 'name' => __( ' Options', 'buddypress' )432 '3' => array( 433 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-credits' ), 'admin.php' ) ), 434 'name' => __( 'Credits', 'buddypress' ) 431 435 ), 432 436 ); -
trunk/src/bp-core/classes/class-bp-admin.php
r11957 r11997 263 263 'bp-settings', 264 264 'bp_core_admin_settings' 265 ); 266 267 // Credits. 268 $hooks[] = add_submenu_page( 269 $this->settings_page, 270 __( 'BuddyPress Credits', 'buddypress' ), 271 __( 'BuddyPress Credits', 'buddypress' ), 272 $this->capability, 273 'bp-credits', 274 array( $this, 'credits_screen' ) 265 275 ); 266 276 … … 515 525 remove_submenu_page( $this->settings_page, 'bp-page-settings' ); 516 526 remove_submenu_page( $this->settings_page, 'bp-settings' ); 527 remove_submenu_page( $this->settings_page, 'bp-credits' ); 517 528 518 529 // Network Admin Tools. … … 697 708 ?> 698 709 699 <div class="wrap about-wrap">700 701 <?php self::welcome_text(); ?>702 703 <?php self::tab_navigation( __METHOD__ ); ?>710 <div class="wrap bp-about-wrap"> 711 712 <h1><?php _e( 'BuddyPress Settings', 'buddypress' ); ?> </h1> 713 714 <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Credits', 'buddypress' ) ); ?></h2> 704 715 705 716 <p class="about-description"><?php _e( 'BuddyPress is created by a worldwide network of friendly folks like these.', 'buddypress' ); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.