[buddypress-trac] [BuddyPress Trac] #9150: filter `bp_get_group_description_excerpt` - no argument passing

buddypress-trac noreply at wordpress.org
Tue May 7 20:10:16 UTC 2024


#9150: filter `bp_get_group_description_excerpt` - no argument passing
------------------------------+---------------------
 Reporter:  pawelhalickiotgs  |       Owner:  imath
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  12.5.0
Component:  Groups            |     Version:  12.4.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:                    |
------------------------------+---------------------
Changes (by imath):

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


Comment:

 In [changeset:"13855" 13855]:
 {{{
 #!CommitTicketReference repository="" revision="13855"
 BP Nouveau: add missing `$group` parameter to the group excerpt filter

 In [13820], escaping the `bp_nouveau_group_description_excerpt()` function
 output was made using the `bp_get_group_description_excerpt` filter. This
 move was incomplete as this filter accepts 2 parameters (the shrinked
 description and the Group object) and only the first one was provided.

 This change adds the missing parameter and also improves the Nouveau
 template pack consistency.

 Props pawelhalickiotgs

 Fixes #9150 (branch 12.0)
 }}}

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


More information about the buddypress-trac mailing list