[buddypress-trac] [BuddyPress Trac] #7051: BP_Email::set_from() seems to set recipient details, not sender details
buddypress-trac
noreply at wordpress.org
Thu May 5 21:31:37 UTC 2016
#7051: BP_Email::set_from() seems to set recipient details, not sender details
--------------------------+-----------------------------
Reporter: henry.wright | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: API | Version: 2.5.0
Severity: normal | Keywords:
--------------------------+-----------------------------
We can set the from address and name like this: {{{BP_Email::set_from(
$email_address, $name );}}}
The problem is the first line of {{{BP_Email::set_from()}}} instantiates
an object of type {{{BP_Email_Recipient}}} and passes arguments to that
class constructor.
To me, "set from" should set sender info, not recipient info.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7051>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list