Changeset 6589 for trunk/bp-activity/bp-activity-notifications.php
- Timestamp:
- 12/10/2012 09:55:56 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-notifications.php
r6587 r6589 71 71 $ud = bp_core_get_core_userdata( $receiver_user_id ); 72 72 $to = $ud->user_email; 73 $sitename = bp_get_option( 'blogname', 'WordPress' ); 74 $subject = '[' . $sitename . '] ' . sprintf( __( '%s mentioned you in an update', 'buddypress' ), $poster_name ); 73 $subject = bp_get_email_subject( array( 'text' => sprintf( __( '%s mentioned you in an update', 'buddypress' ), $poster_name ) ) ); 75 74 76 75 if ( bp_is_active( 'groups' ) && bp_is_group() ) { … … 158 157 159 158 // Set up and send the message 160 $ud = bp_core_get_core_userdata( $original_activity->user_id ); 161 $to = $ud->user_email; 162 $sitename = bp_get_option( 'blogname', 'WordPress' ); 163 $subject = '[' . $sitename . '] ' . sprintf( __( '%s replied to one of your updates', 'buddypress' ), $poster_name ); 164 165 $message = sprintf( __( 159 $ud = bp_core_get_core_userdata( $original_activity->user_id ); 160 $to = $ud->user_email; 161 $subject = bp_get_email_subject( array( 'text' => sprintf( __( '%s replied to one of your updates', 'buddypress' ), $poster_name ) ) ); 162 $message = sprintf( __( 166 163 '%1$s replied to one of your updates: 167 164 … … 203 200 $ud = bp_core_get_core_userdata( $parent_comment->user_id ); 204 201 $to = $ud->user_email; 205 $sitename = bp_get_option( 'blogname', 'WordPress' ); 206 $subject = '[' . $sitename . '] ' . sprintf( __( '%s replied to one of your comments', 'buddypress' ), $poster_name ); 202 $subject = bp_get_email_subject( array( 'text' => sprintf( __( '%s replied to one of your comments', 'buddypress' ), $poster_name ) ) ); 207 203 208 204 $poster_name = stripslashes( $poster_name );
Note: See TracChangeset
for help on using the changeset viewer.