[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:36:39 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:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  8.1.0
Component:  Core         |     Version:  8.0.0
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+---------------------

Comment (by imath):

 In [changeset:"12970" 12970]:
 {{{
 #!CommitTicketReference repository="" revision="12970"
 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

 See #8484 (trunk)
 }}}

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


More information about the buddypress-trac mailing list