Skip to content

Commit f26fe72

Browse files
committed
docs: Add reference comment
1 parent f132c57 commit f26fe72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wp-includes/pluggable.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = array()
445445

446446
try {
447447
// This block should be removed once PHPMailer supports setting the envelope sender separately.
448+
// @see https://core.trac.wordpress.org/ticket/64368.
448449
$auto = ! str_contains( $sendmail_path, ' -f' );
449450
$phpmailer->setFrom( $from_email, $from_name, $auto );
450451
} catch ( PHPMailer\PHPMailer\Exception $e ) {

0 commit comments

Comments
 (0)