[buddypress-trac] [BuddyPress] #5273: Error sending private messages in 1.9 Beta 2
buddypress-trac
noreply at wordpress.org
Thu Dec 5 03:22:12 UTC 2013
#5273: Error sending private messages in 1.9 Beta 2
--------------------------+------------------------------
Reporter: henrywright | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by r-a-y):
We were passing the `$message` variable as a
[http://php.net/manual/en/language.references.pass.php byref] to the
'messages_message_sent' hook. This means that `$message` could be
manipulated by other functions.
Not sure what the original rationale was as I think, in this case, the
byref is unnecessary.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5273#comment:14>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list