Make WordPress Core

Changeset 15693


Ignore:
Timestamp:
10/04/2010 03:04:28 AM (14 years ago)
Author:
dd32
Message:

Fix profile link in admin bar. Props mellertime. Fixes #15022

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r15671 r15693  
    7979        return false;
    8080
    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' ) );
    8282}
    8383add_action( 'wp_before_admin_bar_render', 'wp_admin_bar_me_separator', 10 );
Note: See TracChangeset for help on using the changeset viewer.