wp/wp-mail.php
changeset 19 3d72ae0968f4
parent 16 a86126ab1dd4
child 21 48c4eec2b7e6
--- a/wp/wp-mail.php	Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-mail.php	Tue Sep 27 16:37:53 2022 +0200
@@ -62,7 +62,7 @@
 
 if ( 0 === $count ) {
 	$pop3->quit();
-	wp_die( __( 'There doesn’t seem to be any new mail.' ) );
+	wp_die( __( 'There does not seem to be any new mail.' ) );
 }
 
 for ( $i = 1; $i <= $count; $i++ ) {
@@ -77,6 +77,9 @@
 	$content_transfer_encoding = '';
 	$post_author               = 1;
 	$author_found              = false;
+	$post_date                 = null;
+	$post_date_gmt             = null;
+
 	foreach ( $message as $line ) {
 		// Body signal.
 		if ( strlen( $line ) < 3 ) {