WordPress.org

Make WordPress Core

Ticket #17612: patch.diff

File patch.diff, 517 bytes (added by pross, 3 years ago)
  • wp-includes/class-phpmailer.php

     
    451451   */ 
    452452  private function AddAnAddress($kind, $address, $name = '') { 
    453453    if (!preg_match('/^(to|cc|bcc|ReplyTo)$/', $kind)) { 
    454       echo 'Invalid recipient array: ' . kind; 
     454      echo 'Invalid recipient array: ' . $kind; 
    455455      return false; 
    456456    } 
    457457    $address = trim($address);