[wp-trac] [WordPress Trac] #40576: Sending emails broken in 4.7.2

WordPress Trac noreply at wordpress.org
Wed Apr 26 10:51:26 UTC 2017

#40576: Sending emails broken in 4.7.2
 Reporter:  pavelevap     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.7.2
 Severity:  normal        |   Keywords:
  Focuses:                |
 This change in 4.7.2 probably broke sending emails for some websites:

 PHPMailer was updated from 5.2.14 to 5.2.21 and several calls to
 `escapeshellcmd()` were added. But some users reported problems with
 emails not sending and we found some related errors, for example:
 `Warning: escapeshellcmd() has been disabled for security reasons in
 .../wp-includes/class-phpmailer.php on line 1442`.

 Function `escapeshellcmd()` is disabled by webhoster and it is not
 possible to allow it. Everything works in 4.7.1 and stopped working after
 automatic update to 4.7.2.

Ticket URL: <https://core.trac.wordpress.org/ticket/40576>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list