[buddypress-trac] [BuddyPress Trac] #7382: groups_promote_member() shouldn't attempt to fetch `BP_Core_User` object

buddypress-trac noreply at wordpress.org
Tue Dec 20 17:27:35 UTC 2016


#7382: groups_promote_member() shouldn't attempt to fetch `BP_Core_User` object
-------------------------+------------------
 Reporter:  r-a-y        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.8
Component:  Groups       |     Version:  1.0
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------

Comment (by dcavins):

 I like the concept of lazy loading the user object--it's not needed as
 often as it seems. It seems like the simpler answer, and should yield
 benefits on many group screens. Thanks for highlighting this inefficiency,
 @r-a-y.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7382#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list