Changeset 12596 for trunk/src/bp-xprofile/bp-xprofile-activity.php
- Timestamp:
- 03/28/2020 01:52:20 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-xprofile/bp-xprofile-activity.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-activity.php
r12393 r12596 61 61 function bp_xprofile_format_activity_action_new_avatar( $action, $activity ) { 62 62 $userlink = bp_core_get_userlink( $activity->user_id ); 63 $action = sprintf( esc_html__( '%s changed their profile picture', 'buddypress' ), $userlink ); 63 64 /* translators: %s: user link */ 65 $action = sprintf( esc_html__( '%s changed their profile picture', 'buddypress' ), $userlink ); 64 66 65 67 // Legacy filter - pass $user_id instead of $activity. … … 95 97 // natural translation. 96 98 $profile_link = trailingslashit( bp_core_get_user_domain( $activity->user_id ) . bp_get_profile_slug() ); 97 $action = sprintf( esc_html__( "%s's profile was updated", 'buddypress' ), '<a href="' . esc_url( $profile_link ) . '">' . bp_core_get_user_displayname( $activity->user_id ) . '</a>' ); 99 100 /* translators: %s: user profile link */ 101 $action = sprintf( esc_html__( "%s's profile was updated", 'buddypress' ), '<a href="' . esc_url( $profile_link ) . '">' . bp_core_get_user_displayname( $activity->user_id ) . '</a>' ); 98 102 99 103 /**
Note: See TracChangeset
for help on using the changeset viewer.