#7531 closed defect (bug) (fixed)
Variables conflict in messages_notification_new_message()
Reported by: | idofri | Owned by: | r-a-y |
---|---|---|---|
Milestone: | 2.9 | Priority: | normal |
Severity: | normal | Version: | 2.5.0 |
Component: | Messages | Keywords: | has-patch |
Cc: |
Description
I've noticed that the $args variable in the messages_notification_new_message() function, is being repeatedly overwritten inside the loop and then being passed to the 'bp_messages_sent_notification_email' action hook.
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Nice catch, @idofri.
Looks like your first BuddyPress ticket, so thanks for contributing!
Instead of
$_args
, I think we can just get rid that variable since we don't need it. See7531.2.patch
.