[buddypress-trac] [BuddyPress Trac] #7687: Nouveau activity button generator incorrect sets default value for button parameter

buddypress-trac noreply at wordpress.org
Wed Feb 7 17:06:32 UTC 2018


#7687: Nouveau activity button generator incorrect sets default value for button
parameter
--------------------------+-----------------
 Reporter:  boonebgorges  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.0
Component:  Templates     |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------
 When Nouveau generates activity buttons
 `bp_nouveau_get_activity_comment_buttons()`
 `bp_nouveau_get_activity_entry_buttons()`, it sets the default value of
 'parent_attr' (as passed to BP's button functions) as an empty string. But
 BP expects `'parent_attr'` to be an array, resulting in lots of PHP
 notices.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7687>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list