Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/14/2016 10:20:39 PM (8 years ago)
Author:
boonebgorges
Message:

Groups: Ensure that isset() returns true for newly-protected properties in BP_Groups_Group.

Props r-a-y.
Fixes #5451.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/classes/class-bp-groups-group.php

    r11100 r11103  
    441441    public function __isset( $key ) {
    442442        switch ( $key ) {
     443            case 'admins' :
     444            case 'is_invited' :
     445            case 'is_member' :
     446            case 'is_pending' :
    443447            case 'last_activity' :
     448            case 'mods' :
    444449            case 'total_member_count' :
    445             case 'admins' :
    446             case 'mods' :
     450            case 'user_has_access' :
    447451                return true;
    448452
Note: See TracChangeset for help on using the changeset viewer.