Edit File by line
/home/zeestwma/redstone.../wp-inclu.../PHPMaile...
File: Exception.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/**
[2] Fix | Delete
* PHPMailer Exception class.
[3] Fix | Delete
* PHP Version 5.5.
[4] Fix | Delete
*
[5] Fix | Delete
* @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
[6] Fix | Delete
*
[7] Fix | Delete
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
[8] Fix | Delete
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
[9] Fix | Delete
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
[10] Fix | Delete
* @author Brent R. Matzelle (original founder)
[11] Fix | Delete
* @copyright 2012 - 2020 Marcus Bointon
[12] Fix | Delete
* @copyright 2010 - 2012 Jim Jagielski
[13] Fix | Delete
* @copyright 2004 - 2009 Andy Prevost
[14] Fix | Delete
* @license https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html GNU Lesser General Public License
[15] Fix | Delete
* @note This program is distributed in the hope that it will be useful - WITHOUT
[16] Fix | Delete
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
[17] Fix | Delete
* FITNESS FOR A PARTICULAR PURPOSE.
[18] Fix | Delete
*/
[19] Fix | Delete
[20] Fix | Delete
namespace PHPMailer\PHPMailer;
[21] Fix | Delete
[22] Fix | Delete
/**
[23] Fix | Delete
* PHPMailer exception handler.
[24] Fix | Delete
*
[25] Fix | Delete
* @author Marcus Bointon <phpmailer@synchromedia.co.uk>
[26] Fix | Delete
*/
[27] Fix | Delete
class Exception extends \Exception
[28] Fix | Delete
{
[29] Fix | Delete
/**
[30] Fix | Delete
* Prettify error message output.
[31] Fix | Delete
*
[32] Fix | Delete
* @return string
[33] Fix | Delete
*/
[34] Fix | Delete
public function errorMessage()
[35] Fix | Delete
{
[36] Fix | Delete
return '<strong>' . htmlspecialchars($this->getMessage(), ENT_COMPAT | ENT_HTML401) . "</strong><br />\n";
[37] Fix | Delete
}
[38] Fix | Delete
}
[39] Fix | Delete
[40] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function