equal
deleted
inserted
replaced
60 wp_die( esc_html( $pop3->ERROR ) ); |
60 wp_die( esc_html( $pop3->ERROR ) ); |
61 } |
61 } |
62 |
62 |
63 if ( 0 === $count ) { |
63 if ( 0 === $count ) { |
64 $pop3->quit(); |
64 $pop3->quit(); |
65 wp_die( __( 'There doesn’t seem to be any new mail.' ) ); |
65 wp_die( __( 'There does not seem to be any new mail.' ) ); |
66 } |
66 } |
67 |
67 |
68 for ( $i = 1; $i <= $count; $i++ ) { |
68 for ( $i = 1; $i <= $count; $i++ ) { |
69 |
69 |
70 $message = $pop3->get( $i ); |
70 $message = $pop3->get( $i ); |
75 $content = ''; |
75 $content = ''; |
76 $content_type = ''; |
76 $content_type = ''; |
77 $content_transfer_encoding = ''; |
77 $content_transfer_encoding = ''; |
78 $post_author = 1; |
78 $post_author = 1; |
79 $author_found = false; |
79 $author_found = false; |
|
80 $post_date = null; |
|
81 $post_date_gmt = null; |
|
82 |
80 foreach ( $message as $line ) { |
83 foreach ( $message as $line ) { |
81 // Body signal. |
84 // Body signal. |
82 if ( strlen( $line ) < 3 ) { |
85 if ( strlen( $line ) < 3 ) { |
83 $bodysignal = true; |
86 $bodysignal = true; |
84 } |
87 } |