[buddypress-trac] [BuddyPress Trac] #7044: Emails: Passing an email address to `bp_send_mail()` does not render `{recipient.name}` token

buddypress-trac noreply at wordpress.org
Tue May 3 07:29:37 UTC 2016


#7044: Emails: Passing an email address to `bp_send_mail()` does not render
`{recipient.name}` token
--------------------------+--------------------
 Reporter:  r-a-y         |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  2.6
Component:  API - Emails  |     Version:  2.5.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by DJPaul):

 > Question: What is the intention behind the $name parameter in
 BP_Email_Recipient class constructor? ... think it would be beneficial to
 use this as the main $name even if a WP user is found.

 Yes, exactly.

 Can't test patch at the moment but looks pretty tasty.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7044#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list