Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/28/2016 07:26:34 PM (10 years ago)
Author:
djpaul
Message:

Emails: update set_to, set_bcc, set_cc to correctly handle multiple recipients.

Also tweaks the PHPDoc to make the intended use of the array argument
clearer.

See #6592

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-email-recipient.php

    r10473 r10481  
    5050         *
    5151         * @param string|array|int|WP_User $email_or_user Either a email address, user ID, WP_User object,
    52          *                                                or an array containg the address and name.
     52         *                                                or an array containing any combination of the above.
    5353         * @param string $name Optional. If $email_or_user is a string, this is the recipient's name.
    5454         */
     
    9595                 *
    9696                 * @param string|array|int|WP_User $email_or_user Either a email address, user ID, WP_User object,
    97                  *                                                or an array containg the address and name.
     97                 *                                                or an array containing any combination of the above.
    9898                 * @param string $name If $email_or_user is a string, this is the recipient's name.
    9999                 * @param BP_Email_Recipient $this Current instance of the email type class.
Note: See TracChangeset for help on using the changeset viewer.