Changeset 9936 for trunk/src/bp-xprofile/bp-xprofile-activity.php
- Timestamp:
- 06/11/2015 06:53:59 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-activity.php
r9819 r9936 96 96 // your language doesn't have this restriction, feel free to use a more 97 97 // natural translation. 98 $profile_link = trailingslashit( bp_core_get_user_domain( $activity->user_id ) . b uddypress()->profile->slug);98 $profile_link = trailingslashit( bp_core_get_user_domain( $activity->user_id ) . bp_get_profile_slug() ); 99 99 $action = sprintf( __( '%s’s profile was updated', 'buddypress' ), '<a href="' . $profile_link . '">' . bp_core_get_user_displayname( $activity->user_id ) . '</a>' ); 100 100 … … 318 318 319 319 // If we've reached this point, assemble and post the activity item 320 $profile_link = trailingslashit( bp_core_get_user_domain( $user_id ) . b uddypress()->profile->slug);320 $profile_link = trailingslashit( bp_core_get_user_domain( $user_id ) . bp_get_profile_slug() ); 321 321 322 322 return (bool) xprofile_record_activity( array(
Note: See TracChangeset
for help on using the changeset viewer.