diff --git src/wp-admin/menu.php src/wp-admin/menu.php
index 2248a75164..edacdaefed 100644
|
|
|
if ( current_user_can( 'list_users' ) ) { |
| 264 | 264 | $submenu['users.php'][10] = array( _x( 'Add New', 'user' ), 'promote_users', 'user-new.php' ); |
| 265 | 265 | } |
| 266 | 266 | |
| 267 | | $submenu['users.php'][15] = array( __( 'Your Profile' ), 'read', 'profile.php' ); |
| | 267 | $submenu['users.php'][15] = array( __( 'Profile' ), 'read', 'profile.php' ); |
| 268 | 268 | } else { |
| 269 | 269 | $_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' ); |
| 271 | 271 | if ( current_user_can( 'create_users' ) ) { |
| 272 | 272 | $submenu['profile.php'][10] = array( __( 'Add New User' ), 'create_users', 'user-new.php' ); |
| 273 | 273 | } elseif ( is_multisite() ) { |
diff --git src/wp-admin/user-edit.php src/wp-admin/user-edit.php
index d8e1ffb9e6..49aff443a6 100644
|
|
|
switch ( $action ) { |
| 127 | 127 | |
| 128 | 128 | if ( IS_PROFILE_PAGE ) { |
| 129 | 129 | /** |
| 130 | | * Fires before the page loads on the 'Your Profile' editing screen. |
| | 130 | * Fires before the page loads on the 'Profile' editing screen. |
| 131 | 131 | * |
| 132 | 132 | * The action only fires if the current user is editing their own profile. |
| 133 | 133 | * |
| … |
… |
endif; |
| 386 | 386 | <?php |
| 387 | 387 | if ( IS_PROFILE_PAGE ) { |
| 388 | 388 | /** |
| 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. |
| 390 | 390 | * |
| 391 | 391 | * The action only fires if the current user is editing their own profile. |
| 392 | 392 | * |
| … |
… |
endif; |
| 705 | 705 | <?php |
| 706 | 706 | if ( IS_PROFILE_PAGE ) { |
| 707 | 707 | /** |
| 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. |
| 709 | 709 | * |
| 710 | 710 | * The action only fires if the current user is editing their own profile. |
| 711 | 711 | * |
diff --git src/wp-includes/admin-bar.php src/wp-includes/admin-bar.php
index 753e5ab5be..00a0bcde8b 100644
|
|
|
function wp_admin_bar_my_account_menu( $wp_admin_bar ) { |
| 313 | 313 | array( |
| 314 | 314 | 'parent' => 'user-actions', |
| 315 | 315 | 'id' => 'edit-profile', |
| 316 | | 'title' => __( 'Edit My Profile' ), |
| | 316 | 'title' => __( 'Edit Profile' ), |
| 317 | 317 | 'href' => $profile_url, |
| 318 | 318 | ) |
| 319 | 319 | ); |
diff --git tests/phpunit/tests/formatting/Autop.php tests/phpunit/tests/formatting/Autop.php
index 9314715460..6a672345d7 100644
|
|
|
When a new version is released, <a href="%2$s" title="If you are already logged |
| 19 | 19 | Upgrading is a couple of clicks!</p> |
| 20 | 20 | <p>Then you can start enjoying the WordPress experience:</p> |
| 21 | 21 | <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 › 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 › Profile</a></li> |
| 23 | 23 | <li>Start publishing at <a href="%4$s" title="Create a new post">Posts › Add New</a> and at <a href="%5$s" title="Create a new page">Pages › Add New</a></li> |
| 24 | 24 | <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 › Add New</a></li> |
| 25 | 25 | <li>Browse and install themes at <a href="%7$s" title="Browse and install themes at the official WordPress repository directly from your Dashboard">Appearance › Add New Themes</a></li> |
| … |
… |
Upgrading is a couple of clicks! |
| 44 | 44 | |
| 45 | 45 | Then you can start enjoying the WordPress experience: |
| 46 | 46 | <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 › 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 › Profile</a></li> |
| 48 | 48 | <li>Start publishing at <a href="%4$s" title="Create a new post">Posts › Add New</a> and at <a href="%5$s" title="Create a new page">Pages › Add New</a></li> |
| 49 | 49 | <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 › Add New</a></li> |
| 50 | 50 | <li>Browse and install themes at <a href="%7$s" title="Browse and install themes at the official WordPress repository directly from your Dashboard">Appearance › Add New Themes</a></li> |