[buddypress-trac] [BuddyPress Trac] #8146: bp_get_group_is_public() always returns NULL

buddypress-trac noreply at wordpress.org
Thu Oct 17 10:25:45 UTC 2019


#8146: bp_get_group_is_public() always returns NULL
---------------------------+-----------------------------
 Reporter:  mattjones2207  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Groups         |    Version:  5.0.0
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 It seems that the `bp_get_group_is_public()` function checks for
 `$group->is_public` property, but this does not exist in the
 `BP_Groups_Group` class.

 Either this should be handled internally in the `BP_Groups_Group` class,
 or these functions should be checking the value of the  `$group->status`
 property?

 Also affected:

 `bp_group_is_public()`
 `bp_get_group_public_status()`
 `bp_group_public_status()`

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8146>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list