Wordpress/tests
Helen Hou-Sandi 5af14c3e07 Mail: Set a better error code when triggering wp_mail_failed.
This error code is now... wait for it... `wp_mail_failed`. Previously, this would have been the originating PHPMailer error code, which could be `0`, which would then fail (pass?) the `empty()` check in the `WP_Error` constructor, thereby rendering the error object fairly useless. The PHPMailer error code is now located within the `WP_Error` data.

props Kau-Boy, stephenharris.
fixes #35598.


git-svn-id: https://develop.svn.wordpress.org/trunk@39086 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-02 04:26:18 +00:00
..
phpunit Mail: Set a better error code when triggering wp_mail_failed. 2016-11-02 04:26:18 +00:00
qunit TinyMCE: wptextpattern: Handle unconverted inline patterns 2016-11-01 20:05:48 +00:00