Make WordPress Core


Ignore:
Timestamp:
09/22/2021 08:59:15 PM (3 years ago)
Author:
johnbillion
Message:

General: Fix code quality issues which were identified by static analysis.

This fixes minor issues that could cause PHP notices under the right conditions, and fixes some general incorrectness.

Props jrf, hellofromTonya for review

See #52217

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-mail.php

    r47580 r51850  
    7878    $post_author               = 1;
    7979    $author_found              = false;
     80    $post_date                 = null;
     81    $post_date_gmt             = null;
     82
    8083    foreach ( $message as $line ) {
    8184        // Body signal.
Note: See TracChangeset for help on using the changeset viewer.