[buddypress-trac] [BuddyPress Trac] #6889: Remove usage of deprecated BP_Core_User::get_users()
buddypress-trac
noreply at wordpress.org
Sun Nov 6 01:33:12 UTC 2016
#6889: Remove usage of deprecated BP_Core_User::get_users()
----------------------------------------+-----------------------
Reporter: tw2113 | Owner: tw2113
Type: enhancement | Status: accepted
Priority: normal | Milestone: 2.8
Component: Core | Version:
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug |
----------------------------------------+-----------------------
Comment (by tw2113):
Attached is an initial attempt, but I'm almost certain that it's not right
yet, due to the fact we'd be returning a BP_User_Query object, instead of
an array of total+paged users. However, I'm not quite seeing any methods
on the BP_User_Query function that would be used to necessarily fetch the
results.
Perhaps remove the new BP_User_Query to above, and construct an array
ourselves based on the results, to avoid backcompat breaking for the
filter?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6889#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list