Ticket #875: bp-core-adminbar.php.patch
File bp-core-adminbar.php.patch, 772 bytes (added by , 15 years ago) |
---|
-
bp-core-adminbar.php
43 43 } 44 44 } 45 45 46 // **** "My Account" Link ****** 47 function bp_adminbar_my_account_link () { 48 global $bp; 49 return apply_filters( 'bp_adminbar_my_account_link', bp_core_get_userurl($bp->loggedin_user->id) ); 50 } 51 46 52 // **** "My Account" Menu ****** 47 53 function bp_adminbar_account_menu() { 48 54 global $bp; … … 52 58 53 59 if ( is_user_logged_in() ) { 54 60 55 echo '<li id="bp-adminbar-account-menu"><a href=" ">';61 echo '<li id="bp-adminbar-account-menu"><a href="' . bp_adminbar_my_account_link() . '">'; 56 62 57 63 echo __( 'My Account', 'buddypress' ) . '</a>'; 58 64 echo '<ul>';