mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Fix typo in PHPMailer. Fixes #17614 props pross.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9b82395409
commit
3af271ea94
@ -451,7 +451,7 @@ class PHPMailer {
|
|||||||
*/
|
*/
|
||||||
private function AddAnAddress($kind, $address, $name = '') {
|
private function AddAnAddress($kind, $address, $name = '') {
|
||||||
if (!preg_match('/^(to|cc|bcc|ReplyTo)$/', $kind)) {
|
if (!preg_match('/^(to|cc|bcc|ReplyTo)$/', $kind)) {
|
||||||
echo 'Invalid recipient array: ' . kind;
|
echo 'Invalid recipient array: ' . $kind;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$address = trim($address);
|
$address = trim($address);
|
||||||
|
Loading…
Reference in New Issue
Block a user