WordPress.org

Make WordPress Core

Changeset 47600


Ignore:
Timestamp:
04/20/2020 08:37:31 AM (17 months ago)
Author:
SergeyBiryukov
Message:

Users: Change "Your Profile" and "My Profile" links in admin menu and toolbar to just "Profile" for consistency.

Props donmhico, bcworkz, seanchayes, mikeschroder, garrett-eclipse, akhileshsabharwal, ScottSmith, nacin, jenmylo, afercia, swissspidy, felix-edelmann, helen, melchoyce, karmatosed.
Fixes #26769.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/menu.php

    r47550 r47600  
    265265    }
    266266
    267     $submenu['users.php'][15] = array( __( 'Your Profile' ), 'read', 'profile.php' );
     267    $submenu['users.php'][15] = array( __( 'Profile' ), 'read', 'profile.php' );
    268268} else {
    269269    $_wp_real_parent_file['users.php'] = 'profile.php';
    270     $submenu['profile.php'][5]         = array( __( 'Your Profile' ), 'read', 'profile.php' );
     270    $submenu['profile.php'][5]         = array( __( 'Profile' ), 'read', 'profile.php' );
    271271    if ( current_user_can( 'create_users' ) ) {
    272272        $submenu['profile.php'][10] = array( __( 'Add New User' ), 'create_users', 'user-new.php' );
  • trunk/src/wp-admin/user-edit.php

    r47550 r47600  
    128128        if ( IS_PROFILE_PAGE ) {
    129129            /**
    130              * Fires before the page loads on the 'Your Profile' editing screen.
     130             * Fires before the page loads on the 'Profile' editing screen.
    131131             *
    132132             * The action only fires if the current user is editing their own profile.
     
    387387        if ( IS_PROFILE_PAGE ) {
    388388            /**
    389              * Fires after the 'Personal Options' settings table on the 'Your Profile' editing screen.
     389             * Fires after the 'Personal Options' settings table on the 'Profile' editing screen.
    390390             *
    391391             * The action only fires if the current user is editing their own profile.
     
    706706        if ( IS_PROFILE_PAGE ) {
    707707            /**
    708              * Fires after the 'About Yourself' settings table on the 'Your Profile' editing screen.
     708             * Fires after the 'About Yourself' settings table on the 'Profile' editing screen.
    709709             *
    710710             * The action only fires if the current user is editing their own profile.
  • trunk/src/wp-includes/admin-bar.php

    r47455 r47600  
    314314                'parent' => 'user-actions',
    315315                'id'     => 'edit-profile',
    316                 'title'  => __( 'Edit My Profile' ),
     316                'title'  => __( 'Edit Profile' ),
    317317                'href'   => $profile_url,
    318318            )
  • trunk/tests/phpunit/tests/formatting/Autop.php

    r47122 r47600  
    2020<p>Then you can start enjoying the WordPress experience:</p>
    2121<ul>
    22 <li>Edit your personal information at <a href="%3$s" title="Edit settings like your password, your display name and your contact information">Users &#8250; Your Profile</a></li>
     22<li>Edit your personal information at <a href="%3$s" title="Edit settings like your password, your display name and your contact information">Users &#8250; Profile</a></li>
    2323<li>Start publishing at <a href="%4$s" title="Create a new post">Posts &#8250; Add New</a> and at <a href="%5$s" title="Create a new page">Pages &#8250; Add New</a></li>
    2424<li>Browse and install plugins at <a href="%6$s" title="Browse and install plugins at the official WordPress repository directly from your Dashboard">Plugins &#8250; Add New</a></li>
     
    4545Then you can start enjoying the WordPress experience:
    4646<ul>
    47 <li>Edit your personal information at <a href="%3$s" title="Edit settings like your password, your display name and your contact information">Users &#8250; Your Profile</a></li>
     47<li>Edit your personal information at <a href="%3$s" title="Edit settings like your password, your display name and your contact information">Users &#8250; Profile</a></li>
    4848<li>Start publishing at <a href="%4$s" title="Create a new post">Posts &#8250; Add New</a> and at <a href="%5$s" title="Create a new page">Pages &#8250; Add New</a></li>
    4949<li>Browse and install plugins at <a href="%6$s" title="Browse and install plugins at the official WordPress repository directly from your Dashboard">Plugins &#8250; Add New</a></li>
Note: See TracChangeset for help on using the changeset viewer.