Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/01/2016 04:59:31 PM (10 years ago)
Author:
r-a-y
Message:

Activity: Cast activity properties as integers where appropriate.

Props DJPaul, r-a-y.

See #6977.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-activity.php

    r10731 r10853  
    949949    remove_action( 'bp_activity_post_type_comment', 'bp_blogs_comment_sync_activity_comment',          10, 4 );
    950950
    951     if ( 1 === (int) $activity->is_spam && 'spam' !== $post_comment_status ) {
     951    if ( 1 === $activity->is_spam && 'spam' !== $post_comment_status ) {
    952952        wp_spam_comment( $post_comment_id );
    953953    } elseif ( ! $activity->is_spam ) {
Note: See TracChangeset for help on using the changeset viewer.