#5550 closed defect (bug) (fixed)
members loop query bug with the bp_use_legacy_user_query filter
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.0.1 | Priority: | high |
Severity: | normal | Version: | 2.0 |
Component: | Members | Keywords: | needs-patch needs-unit-tests |
Cc: |
Description (last modified by )
When the bp_use_legacy_user_query
filter is used to switch BP to the pre-1.7 member loop query changes, and you pass the type=alphabetical
argument to bp_has_members()
, a bug introduced in r7700 (probably BP 1.9.1) causes members to appear many times in the members loop.
Change History (8)
#4
@
11 years ago
- Priority changed from normal to high
Son of a gun.
Haven't fully tested yet, but it looks like this is a regression in 2.0.
https://buddypress.trac.wordpress.org/browser/branches/1.9/bp-core/bp-core-classes.php#L256
https://buddypress.trac.wordpress.org/browser/branches/2.0/bp-core/bp-core-classes.php#L239
#6
@
11 years ago
Just checked -- r7700 was introduced in trunk for 2.0, not 1.9.1. I misread the commits logs when chasing it down earlier. So it is a regression in 2.0.
Best way to recreate this is by adding the following to a
mu-plugins
helper, and then visiting the members directory: