[buddypress-trac] [BuddyPress Trac] #6577: friends_check_friendship_status() problem when using legacy user query
buddypress-trac
noreply at wordpress.org
Tue Aug 11 16:54:04 UTC 2015
#6577: friends_check_friendship_status() problem when using legacy user query
---------------------------------+-----------------------
Reporter: r-a-y | Owner: r-a-y
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 2.4
Component: Component - Friends | Version: 2.1
Severity: normal | Resolution:
Keywords: has-patch commit |
---------------------------------+-----------------------
Comment (by r-a-y):
In [changeset:"10043"]:
{{{
#!CommitTicketReference repository="" revision="10043"
BP User Query: Remove invalid IDs from `$user_ids` property after query is
run.
If the `user_ids` parameter is passed to `BP_User_Query` with invalid user
IDs, after the user query is run, the `user_ids` property still references
these invalid user IDs. This can lead to devs to assume that the user ID
exists when it does not.
This commit removes these invalid user IDs and includes a unit test.
See #6577.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6577#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list