Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/04/2011 06:08:54 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Do not show last activity stream items for spam or deleted users.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-template.php

    r4558 r4589  
    12301230            $user_id = $bp->displayed_user->id;
    12311231
     1232        if ( bp_core_is_user_spammer( $user_id ) || bp_core_is_user_deleted( $user_id ) )
     1233            return false;
     1234
    12321235        if ( !$update = bp_get_user_meta( $user_id, 'bp_latest_update', true ) )
    12331236            return false;
Note: See TracChangeset for help on using the changeset viewer.