Make WordPress Core


Ignore:
Timestamp:
10/13/2020 01:58:15 PM (6 years ago)
Author:
SergeyBiryukov
Message:

External Libraries: Upgrade PHPMailer to version 6.1.8.

For a full list of changes in this update, see the PHPMailer GitHub:
https://github.com/PHPMailer/PHPMailer/compare/v6.1.7...v6.1.8

Props ayeshrajans.
Fixes #51502.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/PHPMailer/SMTP.php

    r49034 r49136  
    1010 * @author    Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
    1111 * @author    Brent R. Matzelle (original founder)
    12  * @copyright 2012 - 2019 Marcus Bointon
     12 * @copyright 2012 - 2020 Marcus Bointon
    1313 * @copyright 2010 - 2012 Jim Jagielski
    1414 * @copyright 2004 - 2009 Andy Prevost
     
    3535     * @var string
    3636     */
    37     const VERSION = '6.1.7';
     37    const VERSION = '6.1.8';
    3838
    3939    /**
     
    418418        if (strpos(PHP_OS, 'WIN') !== 0) {
    419419            $max = (int)ini_get('max_execution_time');
    420             // Don't bother if unlimited
    421             if (0 !== $max && $timeout > $max) {
     420            // Don't bother if unlimited, or if set_time_limit is disabled
     421            if (0 !== $max && $timeout > $max && strpos(ini_get('disable_functions'), 'set_time_limit') === false) {
    422422                @set_time_limit($timeout);
    423423            }
Note: See TracChangeset for help on using the changeset viewer.