Changeset 10853 for trunk/src/bp-blogs/bp-blogs-activity.php
- Timestamp:
- 06/01/2016 04:59:31 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-blogs/bp-blogs-activity.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-activity.php
r10731 r10853 949 949 remove_action( 'bp_activity_post_type_comment', 'bp_blogs_comment_sync_activity_comment', 10, 4 ); 950 950 951 if ( 1 === (int)$activity->is_spam && 'spam' !== $post_comment_status ) {951 if ( 1 === $activity->is_spam && 'spam' !== $post_comment_status ) { 952 952 wp_spam_comment( $post_comment_id ); 953 953 } elseif ( ! $activity->is_spam ) {
Note: See TracChangeset
for help on using the changeset viewer.