[buddypress-trac] [BuddyPress] #4060: Improve performance of BP_Core_User::get_users()
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Fri Sep 7 02:14:44 UTC 2012
#4060: Improve performance of BP_Core_User::get_users()
-------------------------------------------------+-------------------------
Reporter: shanebp | Owner:
Type: enhancement | Status: new
Priority: highest | Milestone: 1.7
Component: Members | Version: 1.2.9
Severity: critical | Resolution:
Keywords: 2nd-opinion has-patch needs-testing |
dev-feedback |
-------------------------------------------------+-------------------------
Comment (by boonebgorges):
(In [6314]) Introduces BP_User_Query for improved member query performance
- Introduces BP_User_Query class
- Deprecates use of BP_Core_User::get_users() in bp_core_get_users(), the
main
member query function in BuddyPress
- Introduces bp_use_legacy_user_query filter, to allow plugins to use
legacy query method during transition
- Expands user query functionality to support 'user_ids' parameter, which
can be used to skip the user_id query altogether, for maximum
flexibility
in plugins and themes
Props boonebgorges, johnjamesjacoby.
See #4060
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4060#comment:33>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list