Changeset 15760
- Timestamp:
- 10/09/2010 05:25:09 AM (14 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/admin-bar.php
r15746 r15760 79 79 return false; 80 80 81 $wp_admin_bar->add_menu( array( 'id' => 'me', 'title' => get_avatar( $current_user->ID, 16 ), 'href' => $wp_admin_bar->user->account_domain . ' /wp-admin/profile.php' ) );81 $wp_admin_bar->add_menu( array( 'id' => 'me', 'title' => get_avatar( $current_user->ID, 16 ), 'href' => $wp_admin_bar->user->account_domain . 'wp-admin/profile.php' ) ); 82 82 } 83 83 add_action( 'wp_before_admin_bar_render', 'wp_admin_bar_me_separator', 10 ); -
trunk/wp-includes/admin-bar/admin-bar-class.php
r15746 r15760 20 20 } else { 21 21 $this->user->active_blog = $this->user->blogs[$blog_id]; 22 $this->user->domain = home_url();23 $this->user->account_domain = home_url();22 $this->user->domain = trailingslashit( home_url() ); 23 $this->user->account_domain = $this->user->domain; 24 24 } 25 25 $this->user->locale = get_locale();
Note: See TracChangeset
for help on using the changeset viewer.