Multiple loops and pagination variable collision
|Reported by:||r-a-y||Owned by:|
|Component:||Component - Core||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.