Ticket #6662: x Friends.patch
File x Friends.patch, 1.5 KB (added by , 9 years ago) |
---|
-
src/bp-friends/bp-friends-widgets.php
70 70 71 71 $user_id = bp_displayed_user_id(); 72 72 $link = trailingslashit( bp_displayed_user_domain() . bp_get_friends_slug() ); 73 $instance['title'] = sprintf( __( '%s’s Friends', 'buddypress' ), bp_get_displayed_user_fullname() );73 $instance['title'] = sprintf( __( "%s's Friends", 'buddypress' ), bp_get_displayed_user_fullname() ); 74 74 75 75 if ( empty( $instance['friend_default'] ) ) { 76 76 $instance['friend_default'] = 'active'; -
src/bp-xprofile/bp-xprofile-activity.php
96 96 // your language doesn't have this restriction, feel free to use a more 97 97 // natural translation. 98 98 $profile_link = trailingslashit( bp_core_get_user_domain( $activity->user_id ) . bp_get_profile_slug() ); 99 $action = sprintf( __( '%s’s profile was updated', 'buddypress' ), '<a href="' . $profile_link . '">' . bp_core_get_user_displayname( $activity->user_id ) . '</a>' );99 $action = sprintf( __( "%s's profile was updated", 'buddypress' ), '<a href="' . $profile_link . '">' . bp_core_get_user_displayname( $activity->user_id ) . '</a>' ); 100 100 101 101 /** 102 102 * Filters the formatted 'updated_profile' activity stream action.