#7531 closed defect (bug) (fixed)
Variables conflict in messages_notification_new_message()
| Reported by: | idofri | Owned by: | r-a-y |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.9 |
| Component: | Messages | Version: | 2.5.0 |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.