Opened 13 years ago
Last modified 12 years ago
#4186 new defect (bug)
'max' not working correctly for bp_has_members
Reported by: | jrfoell | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Contributions | Priority: | normal |
Severity: | normal | Version: | 1.5.5 |
Component: | Members | Keywords: | needs-refresh reporter-feedback |
Cc: | justin@… |
Description
The 'max' argument is not overriding 'per_page' as it should
Attachments (1)
Change History (6)
#1
@
13 years ago
- Keywords dev-feedback added
- Milestone changed from Awaiting Review to Future Release
I think this needs looking at from the perspective of making our template loop arguments function in the same way that WP_Query's do (i.e. if we have a param with the same name as WP does, it would confuse new people less if BP's behaviour of that param matched how WP handled it).
This param has been like this since BP 1.0, so would probably cause backwards compatibility problems if this patch was just dropped in.
#2
@
13 years ago
- Cc justin@… added
Well, WP_Query does not have a 'max' param, but all of the BuddyPress templates do... so maybe there just needs to be some consistency with this parameter among the BuddyPress templates (members, groups, forums), as it does something different in each.
Patch for bp-members-template.php