[buddypress-trac] [BuddyPress Trac] #5746: using bp_group_has_members in widgets and conflicts with $_REQUEST['s']

buddypress-trac noreply at wordpress.org
Wed Jul 9 20:16:16 UTC 2014


#5746: using bp_group_has_members in widgets and conflicts with $_REQUEST['s']
-------------------------+---------------------------
 Reporter:  WCUADD       |       Owner:  boonebgorges
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  2.1
Component:  Groups       |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"8574"]:
 {{{
 #!CommitTicketReference repository="" revision="8574"
 Only get 'search_terms' out of $_REQUEST['s'] in bp_group_has_members() if
 no 'search_terms' param has been passed to the function

 This allows secondary, search-free loops to be run on a page, by passing
 an
 empty string to the 'search_terms' param. See #5318 for a similar strategy
 as
 applied to members widgets.

 Fixes #5746

 Props WCUADD
 }}}

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


More information about the buddypress-trac mailing list