WordPress.org

Make WordPress Core

Ticket #20970: class_phpmailer-5.2.1.patch

File class_phpmailer-5.2.1.patch, 529 bytes (added by sumindmitriy, 22 months ago)
Line 
137a38,41
2> /*
3> PHP safe_mode quick quasifix by Andrii Raketskyi
4> */
5>
6763c767
7<           $rt = @mail($val, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header, $params);
8---
9>           $rt = @mail($val, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header);
10769c773
11<         $rt = @mail($to, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header, $params);
12---
13>         $rt = @mail($to, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header);