Skip to:
Content

BuddyPress.org

Changeset 5036


Ignore:
Timestamp:
08/26/2011 03:16:36 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Fix regression in user status checks, introduced in r4592. Blame johnjamesjacoby. Props johnjamesjacoby.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-functions.php

    r5035 r5036  
    518518            $is_spammer = true;
    519519
    520         if ( 'spam' == $user->user_status )
     520        if ( 1 == $user->user_status )
    521521            $is_spammer = true;
    522522    }
     
    556556            $is_deleted = true;
    557557
    558         if ( 'deleted' == $user->user_status )
     558        if ( 2 == $user->user_status )
    559559            $is_deleted = true;
    560560
Note: See TracChangeset for help on using the changeset viewer.