WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/07/2012 04:13:51 PM (9 years ago)
Author:
ryan
Message:

Upgrade PHPMailer to 5.2.1. Props MattyRob. fixes #19887

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-smtp.php

    r19632 r19849  
    33.---------------------------------------------------------------------------.
    44|  Software: PHPMailer - PHP email class                                    |
    5 |   Version: 5.2                                                            |
     5|   Version: 5.2.1                                                          |
    66|      Site: https://code.google.com/a/apache-extras.org/p/phpmailer/       |
    77| ------------------------------------------------------------------------- |
     
    1111|          : Jim Jagielski (jimjag) jimjag@gmail.com                        |
    1212|   Founder: Brent R. Matzelle (original founder)                           |
    13 | Copyright (c) 2010-2011, Jim Jagielski. All Rights Reserved.               |
     13| Copyright (c) 2010-2012, Jim Jagielski. All Rights Reserved.              |
    1414| Copyright (c) 2004-2009, Andy Prevost. All Rights Reserved.               |
    1515| Copyright (c) 2001-2003, Brent R. Matzelle                                |
     
    3131 * @copyright 2004 - 2008 Andy Prevost
    3232 * @author Jim Jagielski
    33  * @copyright 2010 - 2011 Jim Jagielski
     33 * @copyright 2010 - 2012 Jim Jagielski
    3434 * @license http://www.gnu.org/copyleft/lesser.html Distributed under the Lesser General Public License (LGPL)
    3535 * @version $Id: class.smtp.php 450 2010-06-23 16:46:33Z coolbru $
     
    7373   * @var string
    7474   */
    75   public $Version         = '5.2';
     75  public $Version         = '5.2.1';
    7676
    7777  /////////////////////////////////////////////////
     
    798798  private function get_lines() {
    799799    $data = "";
    800     while($str = @fgets($this->smtp_conn,515)) {
     800    while(!feof($this->smtp_conn)) {
     801      $str = @fgets($this->smtp_conn,515);
    801802      if($this->do_debug >= 4) {
    802803        echo "SMTP -> get_lines(): \$data was \"$data\"" . $this->CRLF . '<br />';
Note: See TracChangeset for help on using the changeset viewer.