[buddypress-trac] [BuddyPress Trac] #5420: unit tests failing because of using bp_group_has_members() outside group context

buddypress-trac noreply at wordpress.org
Mon Feb 24 19:47:02 UTC 2014


#5420: unit tests failing because of using bp_group_has_members() outside group
context
--------------------------+------------------------------
 Reporter:  DJPaul        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Unit Tests    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  commit        |
--------------------------+------------------------------
Changes (by boonebgorges):

 * keywords:   => commit


Comment:

 The real mystery here is not why you're getting the error, it's why the
 rest of us are not.

 The fact that we're assuming the current group in this context seems like
 an outright bug. Your fix looks good to me.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5420#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list