Skip to:
Content

BuddyPress.org

#7687 closed defect (bug) (fixed)

Nouveau activity button generator incorrect sets default value for button parameter

Reported by: boonebgorges Owned by: boonebgorges
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Templates Keywords:
Cc:

Description

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.

Change History (1)

#1 @boonebgorges
21 months ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 11850:

Nouveau: Default value of 'parent_attr' should be an array when generating buttons.

Fixes #7687.

Note: See TracTickets for help on using tickets.