Changeset 55051 for trunk/src/wp-mail.php
- Timestamp:
- 01/11/2023 01:57:17 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-mail.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-mail.php
r54866 r55051 148 148 if ( preg_match( '/Date: /i', $line ) ) { // Of the form '20 Mar 2002 20:32:37 +0100'. 149 149 $ddate = str_replace( 'Date: ', '', trim( $line ) ); 150 // Remove parenthesi sed timezone string if it exists, as this confuses strtotime().150 // Remove parenthesized timezone string if it exists, as this confuses strtotime(). 151 151 $ddate = preg_replace( '!\s*\(.+\)\s*$!', '', $ddate ); 152 152 $ddate_timestamp = strtotime( $ddate );
Note: See TracChangeset
for help on using the changeset viewer.