[buddypress-trac] [BuddyPress] #3679: Multiple loops and pagination variable collision

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Oct 12 02:25:24 UTC 2011

#3679: Multiple loops and pagination variable collision
 Reporter:  r-a-y        |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Core         |    Version:  1.2
 Severity:  normal       |   Keywords:  has-patch
 If you attempt to use multiple loops of the same component '''with'''
 pagination, the loops will not be independent of one another.

 One way to work around this is to introduce a new parameter that we can
 set in the loop.

 Then, the constructor that populates the loop will use this parameter as
 the query arg in pagination_links().

 I've attached a patch detailing how this might work with the members loop.

 The hope is that this approach will be used for all BP loops.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3679>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list