Make WordPress Core


Ignore:
Timestamp:
01/28/2026 09:01:01 PM (4 months ago)
Author:
jorbin
Message:

General: Revert commit with accidental changes.

[61531] included both the intended change of [61480] and additional code. In order to provide as clean of a history as possible, this is being reverted and will be recommitted so that it only contains the correct code.

Unprops jorbin.

Follow up to [61531].

See #64350.
Props joedolson, westonruter, jonsurrell, desrosj.

Location:
branches/6.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.9

  • branches/6.9/src/wp-includes/pluggable.php

    r61531 r61547  
    445445
    446446        try {
    447             $phpmailer->setFrom( $from_email, $from_name, false );
     447            $phpmailer->setFrom( $from_email, $from_name );
    448448        } catch ( PHPMailer\PHPMailer\Exception $e ) {
    449449            $mail_error_data                             = compact( 'to', 'subject', 'message', 'headers', 'attachments' );
Note: See TracChangeset for help on using the changeset viewer.