diff --git wp-includes/admin-bar.php wp-includes/admin-bar.php
index 1be7034..c0b22f5 100644
|
|
|
function wp_admin_bar_my_account_menu( $wp_admin_bar ) { |
| 274 | 274 | if ( false !== $profile_url ) { |
| 275 | 275 | $wp_admin_bar->add_menu( array( |
| 276 | 276 | 'parent' => 'user-actions', |
| 277 | | 'id' => 'edit-profile', |
| 278 | | 'title' => __( 'Edit My Profile' ), |
| 279 | | 'href' => $profile_url, |
| | 277 | 'id' => 'view-my-posts', |
| | 278 | 'title' => __( 'View My Posts' ), |
| | 279 | 'href' => get_author_posts_url( $current_user->ID ), |
| 280 | 280 | ) ); |
| 281 | 281 | } |
| 282 | 282 | |