[buddypress-trac] [BuddyPress Trac] #8484: Bug in bp_nouveau_get_activity_entry_buttons function when bp_nouveau_get_activity_entry_buttons filter returns empty array

buddypress-trac noreply at wordpress.org
Sat Jun 12 10:38:18 UTC 2021


#8484: Bug in bp_nouveau_get_activity_entry_buttons function when
bp_nouveau_get_activity_entry_buttons filter returns empty array
-------------------------+---------------------
 Reporter:  sbrajesh     |       Owner:  imath
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  8.1.0
Component:  Core         |     Version:  8.0.0
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------
Changes (by imath):

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


Comment:

 In [changeset:"12971" 12971]:
 {{{
 #!CommitTicketReference repository="" revision="12971"
 BP Nouveau: improve the function to get activity action buttons

 Right After the filter `'bp_nouveau_get_activity_entry_buttons'` the
 function was wrongly returning an array that wasn't the result of the
 filter when this result was empty.

 In this particular case, we simply need to return an empty array.

 Props sbrajesh

 Fixes #8484 (branch 8.0)
 }}}

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


More information about the buddypress-trac mailing list