diff --git a/wp-includes/class-phpmailer.php b/wp-includes/class-phpmailer.php index b498d8c32..70de3de72 100644 --- a/wp-includes/class-phpmailer.php +++ b/wp-includes/class-phpmailer.php @@ -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);