Changeset 13433 for trunk/src/bp-activity/bp-activity-template.php
- Timestamp:
- 03/07/2023 04:28:08 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-template.php
r13409 r13433 1007 1007 $link = $activities_template->activity->primary_link; 1008 1008 } else { 1009 $link = bp_ core_get_user_domain( $activities_template->activity->user_id, $activities_template->activity->user_nicename, $activities_template->activity->user_login);1009 $link = bp_members_get_user_url( $activities_template->activity->user_id ); 1010 1010 } 1011 1011 … … 1540 1540 if ( in_array( $activity_type, array( 'new_avatar', 'new_member', 'friendship_created', 'updated_profile' ), true ) ) { 1541 1541 $generated_content->user_url = array( 1542 'value' => bp_ core_get_user_domain( $user_id ),1542 'value' => bp_members_get_user_url( $user_id ), 1543 1543 'sanitize_callback' => 'esc_url', 1544 1544 ); … … 2255 2255 */ 2256 2256 function bp_get_activity_comment_user_link() { 2257 $user_link = bp_ core_get_user_domain( bp_get_activity_comment_user_id() );2257 $user_link = bp_members_get_user_url( bp_get_activity_comment_user_id() ); 2258 2258 2259 2259 /** … … 3653 3653 3654 3654 // Get profile link for this user. 3655 $profile_link = bp_ core_get_user_domain( $user_id );3655 $profile_link = bp_members_get_user_url( $user_id ); 3656 3656 3657 3657 // Get avatar for this user.
Note: See TracChangeset
for help on using the changeset viewer.