[buddypress-trac] [BuddyPress Trac] #7042: bp_send_email function not working with numeric string for $to argument

buddypress-trac noreply at wordpress.org
Sat Apr 30 15:14:41 UTC 2016


#7042: bp_send_email function not working with numeric string for $to argument
--------------------------+----------------------------------
 Reporter:  WeddyWood     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Under Consideration
Component:  API - Emails  |     Version:  2.5.0
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+----------------------------------
Changes (by DJPaul):

 * milestone:  Awaiting Review => Under Consideration


Comment:

 Hi @WeddyWood, thanks for starting a discussion. The BuddyPress Emails API
 is designed to be strictly-typed on purpose, and making this change would
 weaken that architectural decision. This is not a change we will make,
 unless...

 how are you passing numeric strings to `bp_send_email()`? Is this in
 custom code, or have you filtered something that causes this to break?

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


More information about the buddypress-trac mailing list