Changeset 5327
- Timestamp:
- 11/13/2011 09:04:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-akismet.php
r5325 r5327 343 343 return; 344 344 345 $this->update_activity_history( $activity->id, sprintf( __( '%s reported this activity as spam', 'buddypress' ), bp_get_loggedin_user_ fullname() ), 'report-spam' );345 $this->update_activity_history( $activity->id, sprintf( __( '%s reported this activity as spam', 'buddypress' ), bp_get_loggedin_user_username() ), 'report-spam' ); 346 346 bp_activity_update_meta( $activity->id, '_bp_akismet_user_result', 'true' ); 347 bp_activity_update_meta( $activity->id, '_bp_akismet_user', bp_get_loggedin_user_ fullname() );347 bp_activity_update_meta( $activity->id, '_bp_akismet_user', bp_get_loggedin_user_username() ); 348 348 } 349 349 … … 359 359 return; 360 360 361 $this->update_activity_history( $activity->id, sprintf( __( '%s reported this activity as not spam', 'buddypress' ), bp_get_loggedin_user_ fullname() ), 'report-ham' );361 $this->update_activity_history( $activity->id, sprintf( __( '%s reported this activity as not spam', 'buddypress' ), bp_get_loggedin_user_username() ), 'report-ham' ); 362 362 bp_activity_update_meta( $activity->id, '_bp_akismet_user_result', 'false' ); 363 bp_activity_update_meta( $activity->id, '_bp_akismet_user', bp_get_loggedin_user_ fullname() );363 bp_activity_update_meta( $activity->id, '_bp_akismet_user', bp_get_loggedin_user_username() ); 364 364 } 365 365
Note: See TracChangeset
for help on using the changeset viewer.