[buddypress-trac] [BuddyPress Trac] #5796: Invalid or empty page_arg results in no-limit queries
buddypress-trac
noreply at wordpress.org
Thu Jan 29 16:45:18 UTC 2015
#5796: Invalid or empty page_arg results in no-limit queries
--------------------------------------+------------------------------
Reporter: johnjamesjacoby | Owner: johnjamesjacoby
Type: defect (bug) | Status: closed
Priority: high | Milestone: 2.2
Component: All Components | Version:
Severity: major | Resolution: fixed
Keywords: good-first-bug has-patch |
--------------------------------------+------------------------------
Changes (by johnjamesjacoby):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"9416"]:
{{{
#!CommitTicketReference repository="" revision="9416"
Use `bp_sanitize_pagination_arg()` in the following Groups classes:
* `BP_Groups_Template`
* `BP_Groups_Invite_Template`
* `BP_Groups_Group_Members_Template`
* `BP_Groups_Membership_Requests_Template`
Includes related tests for each class, as well as `pag_arg` assignments
for classes that were previously lacking them.
This prevents pagination values from being overridden outside of
anticipated boundaries. Fixes #5796.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5796#comment:25>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list