Changeset 54427 for trunk/src/wp-includes/PHPMailer/PHPMailer.php
- Timestamp:
- 10/09/2022 05:10:22 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/PHPMailer/PHPMailer.php
r53917 r54427 751 751 * @var string 752 752 */ 753 const VERSION = '6.6. 4';753 const VERSION = '6.6.5'; 754 754 755 755 /** … … 1674 1674 } 1675 1675 } catch (Exception $exc) { 1676 if ($this->Mailer === 'smtp' && $this->SMTPKeepAlive == true ) {1676 if ($this->Mailer === 'smtp' && $this->SMTPKeepAlive == true && $this->smtp->connected()) { 1677 1677 $this->smtp->reset(); 1678 1678 } … … 1866 1866 return false; 1867 1867 } 1868 $readable = file_exists($path);1868 $readable = is_file($path); 1869 1869 //If not a UNC path (expected to start with \\), check read permission, see #2069 1870 1870 if (strpos($path, '\\\\') !== 0) { … … 2104 2104 $this->smtp->setDebugOutput($this->Debugoutput); 2105 2105 $this->smtp->setVerp($this->do_verp); 2106 if ($this->Host === null) { 2107 $this->Host = 'localhost'; 2108 } 2106 2109 $hosts = explode(';', $this->Host); 2107 2110 $lastexception = null;
Note: See TracChangeset
for help on using the changeset viewer.