Give us a choice (PHPMailer Sender).
-
Two git refs:
https://github.com/WordPress/WordPress/commit/54fe38c7ccd09193a88735ae29f2aff4e63b5a32
https://github.com/buddypress/buddypress/commit/6ec02bdbc641672de3ec22c748bad7148cb867aa
…A lot of offensive words are omitted here…
Proposal:
– $phpmailer->setFrom( $from_email, $from_name, false );
+ $phpmailer->setFrom( $from_email, $from_name, defined(‘WP_PHPMAILER_SENDER’) && WP_PHPMAILER_SENDER );
Expected result: of course, as it MUST be anytime, NO immediate effects. When anybody places define(‘WP_PHPMAILER_SENDER’, true) into its wp-config.php, it will have default behavior of PHPMailer instead of current “We know best choice for you; you must accept this choice!” from WP.
- The topic ‘Give us a choice (PHPMailer Sender).’ is closed to new replies.