Ticket #945: 945-jjj.patch
File 945-jjj.patch, 1.2 KB (added by , 15 years ago) |
---|
-
bp-xprofile-templatetags.php
547 547 } 548 548 549 549 if ( $groups[$i]->fields ) 550 echo '<li' . $selected . '><a href="' . $bp-> loggedin_user->domain . $bp->profile->slug . '/edit/group/' . $groups[$i]->id . '">' . $groups[$i]->name . '</a></li>';550 echo '<li' . $selected . '><a href="' . $bp->displayed_user->domain . $bp->profile->slug . '/edit/group/' . $groups[$i]->id . '">' . $groups[$i]->name . '</a></li>'; 551 551 } 552 552 553 553 do_action( 'xprofile_profile_group_tabs' ); … … 592 592 global $bp; 593 593 594 594 if ( !(int)get_site_option( 'bp-disable-avatar-uploads' ) ) 595 bp_core_avatar_admin( null, $bp-> loggedin_user->domain . $bp->profile->slug . '/change-avatar/', $bp->loggedin_user->domain . $bp->profile->slug . '/delete-avatar/' );595 bp_core_avatar_admin( null, $bp->displayed_user->domain . $bp->profile->slug . '/change-avatar/', $bp->displayed_user->domain . $bp->profile->slug . '/delete-avatar/' ); 596 596 else 597 597 _e( 'Avatar uploads are currently disabled. Why not use a <a href="http://gravatar.com" target="_blank">gravatar</a> instead?', 'buddypress' ); 598 598 }