[buddypress-trac] [BuddyPress Trac] #7742: bp_has_members( bp_ajax_querystring( 'members' )

buddypress-trac noreply at wordpress.org
Thu Apr 26 15:33:05 UTC 2018

#7742: bp_has_members( bp_ajax_querystring( 'members' )
 Reporter:  Venutius      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Contributions
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-codex   |
Changes (by r-a-y):

 * keywords:   => needs-codex
 * milestone:  Awaiting Review => Awaiting Contributions


 The correct method is to filter `'bp_ajax_querystring'` to modify the
 arguments due to how the `bp_ajax_querystring()` function sets the
 parameters in the members loop:

 When using the filter, be sure to do checks against the `$object` so you
 are filtering agains the members loop and not another loop.

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

More information about the buddypress-trac mailing list