[buddypress-trac] [BuddyPress Trac] #8497: Allow detecting button element with bp_nouveau_get_members_buttons and bp_nouveau_get_groups_buttons

buddypress-trac noreply at wordpress.org
Wed Jun 30 01:36:25 UTC 2021


#8497: Allow detecting button element with bp_nouveau_get_members_buttons and
bp_nouveau_get_groups_buttons
------------------------------+---------------------
 Reporter:  sbrajesh          |       Owner:  imath
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  9.0.0
Component:  Templates         |     Version:  3.0.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by imath):

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


Comment:

 In [changeset:"12979" 12979]:
 {{{
 #!CommitTicketReference repository="" revision="12979"
 Pass expected arguments to Members/Groups Action button filters

 To improve extensibility of the 2 functions BP Nouveau uses to generate
 these action buttons (`bp_nouveau_get_members_buttons()` &
 `bp_nouveau_get_groups_buttons()`), we are adding a new `$args` parameter
 to their corresponding filters (`'bp_nouveau_get_members_buttons'`&
 `'bp_nouveau_get_groups_buttons'`).

 Doing so should help developers to have better information about the
 expected output for these buttons.

 Props sbrajesh

 Fixes #8497
 }}}

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


More information about the buddypress-trac mailing list