[buddypress-trac] [BuddyPress Trac] #9158: Group members not notified that they have been promoted in Nouveau

buddypress-trac noreply at wordpress.org
Sat May 25 04:47:49 UTC 2024


#9158: Group members not notified that they have been promoted in Nouveau
--------------------------------------+---------------------
 Reporter:  needle                    |       Owner:  imath
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  14.0.0
Component:  Groups                    |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13873" 13873]:
 {{{
 #!CommitTicketReference repository="" revision="13873"
 Groups: improve group membership management functions

 - Make the functions handling the 5 available group membership actions
 (promote, demote, ban, unban, remove) usable outside of the BuddyPress Web
 version. Doing so, the BP REST API will be able to use them so that
 current hooks used to perform custom code/clear group cache are still
 fired within this specific context.
 - In BP Nouveau, the group members management interface (which is using
 the BP REST API) will soon benefit from this work once the BP REST API has
 been updated.  The hook used to notify a group member has been promoted
 will then be fired and BP Nouveau behavior will be consistent with the BP
 Legacy one about group membership management.
 - Deprecate some misleading hooks, which were firing even if the group
 membership action had failed, in favor of new ones which do fire at the
 right "place".

 Props needle

 Fixes #9158
 }}}

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


More information about the buddypress-trac mailing list