[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 13 03:18:54 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 boonebgorges):

 Rather than adding a new parameter/option, how about making `user` magic?
 We've done this elsewhere in BP. It keeps the method signatures simpler,
 and gives us more general performance improvements. See
 [attachment:7382.diff].

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


More information about the buddypress-trac mailing list