[buddypress-trac] [BuddyPress Trac] #5427: group_id cannot be passed to bp_group_has_invites()

buddypress-trac noreply at wordpress.org
Tue Feb 25 14:45:50 UTC 2014


#5427: group_id cannot be passed to bp_group_has_invites()
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.0
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7983"]:
 {{{
 #!CommitTicketReference repository="" revision="7983"
 Fix global variable clashes in bp_group_has_invites()

 The use of extract( $r, EXTR_SKIP ) in bp_group_has_invites() was
 preventing
 the 'group_id' parameter passed to the function from being set in the
 global
 and from being passed to the template class. This made the function
 impossible
 to use outside the group context.

 Fixes #5427
 }}}

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


More information about the buddypress-trac mailing list