Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/29/2014 12:10:44 AM (10 years ago)
Author:
boonebgorges
Message:

Rename user admin tabs to Profile and Extended Profile

This is more consistent with WP's core nomenclature, as well as BP's other
use of the phrase 'Extended Profile'.

Fixes #5363

Props modemlooper, imath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-admin.php

    r8196 r8197  
    144144    private function setup_actions() {
    145145
    146         /** Community Profile ***************************************************/
     146        /** Extended Profile *****************************************/
    147147
    148148        // Add some page specific output to the <head>
     
    155155        add_action( 'bp_admin_enqueue_scripts', array( $this, 'enqueue_scripts' )         );
    156156
    157         // Create the Profile Navigation (WordPress/Community)
     157        // Create the Profile Navigation (Profile/Extended Profile)
    158158        add_action( 'edit_user_profile',        array( $this, 'profile_nav'     ),  99, 1 );
    159159
     
    167167                add_action( 'pre_user_query', array( $this, 'remove_signups_from_user_query'),  10, 1 );
    168168            }
    169            
     169
    170170            // Reorganise the views navigation in users.php and signups page
    171171            if ( current_user_can( $this->capability ) ) {
     
    327327            ?>
    328328            <?php if ( current_user_can( 'edit_user' ) ) :?>
    329                 <li class="nav-tab<?php echo esc_attr( $wp_active ); ?>"><a href="<?php echo esc_url( $wordpress_url );?>"><?php _e( 'WordPress Profile', 'buddypress' ); ?></a></li>
     329                <li class="nav-tab<?php echo esc_attr( $wp_active ); ?>"><a href="<?php echo esc_url( $wordpress_url );?>"><?php _e( 'Profile', 'buddypress' ); ?></a></li>
    330330            <?php endif ;?>
    331             <li class="nav-tab<?php echo esc_attr( $bp_active ); ?>"><a href="<?php echo esc_url( $community_url );?>"><?php _e( 'Community Profile', 'buddypress' ); ?></a></li>
     331            <li class="nav-tab<?php echo esc_attr( $bp_active ); ?>"><a href="<?php echo esc_url( $community_url );?>"><?php _e( 'Extended Profile', 'buddypress' ); ?></a></li>
    332332
    333333            <?php do_action( 'bp_members_admin_profile_nav', $active, $user ); ?>
     
    758758        ), $this->edit_profile_url );
    759759
    760         $edit_profile_link = '<a href="' . esc_url( $edit_profile ) . '">' . esc_html__( 'Profile', 'buddypress' ) . '</a>';
     760        $edit_profile_link = '<a href="' . esc_url( $edit_profile ) . '">' . esc_html__( 'Extended Profile', 'buddypress' ) . '</a>';
    761761
    762762        /**
Note: See TracChangeset for help on using the changeset viewer.