Fix typo in PHPMailer. Fixes #17614 props pross.
git-svn-id: https://develop.svn.wordpress.org/trunk@18107 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
45486df91d
commit
ab110ae8b8
@ -451,7 +451,7 @@ class PHPMailer {
|
||||
*/
|
||||
private function AddAnAddress($kind, $address, $name = '') {
|
||||
if (!preg_match('/^(to|cc|bcc|ReplyTo)$/', $kind)) {
|
||||
echo 'Invalid recipient array: ' . kind;
|
||||
echo 'Invalid recipient array: ' . $kind;
|
||||
return false;
|
||||
}
|
||||
$address = trim($address);
|
||||
|
Loading…
x
Reference in New Issue
Block a user