[buddypress-trac] [BuddyPress Trac] #6006: User Types API
buddypress-trac
noreply at wordpress.org
Sun Nov 23 15:05:40 UTC 2014
#6006: User Types API
--------------------------+------------------
Reporter: boonebgorges | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.2
Component: Core | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by boonebgorges):
Another thought, coming out of what imath has suggested here: I do think
it makes sense to pre-fetch member types for users when initializing a
members loop, as part of the 'populate_extras' routine. And then, when
fetching `bp_get_member_type()`, we can check for the existence of this
pre-fetched value. This would be similar to the way we pre-fetch groupmeta
in the loop. I think this does seem appropriate for v1 of this feature,
and I'll work on it for a second patch.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6006#comment:15>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list