diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2020-01-21 20:14:23 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2020-01-21 20:14:23 +0000 |
commit | 5ca998ddd8427110b1b7eec3261c5ccf3a94fb12 (patch) | |
tree | cf87e83bacdca37418a0a2036b8da320b4b3a180 /Postman/Postman-Email-Log/PostmanEmailLogService.php | |
parent | 5e09c090a23853cf3f174b2f6459520668e0d039 (diff) | |
download | Post-SMTP-5ca998ddd8427110b1b7eec3261c5ccf3a94fb12.zip |
fix post_id wp_error convert and duplicate emails
Diffstat (limited to 'Postman/Postman-Email-Log/PostmanEmailLogService.php')
-rw-r--r-- | Postman/Postman-Email-Log/PostmanEmailLogService.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Postman/Postman-Email-Log/PostmanEmailLogService.php b/Postman/Postman-Email-Log/PostmanEmailLogService.php index ec50745..457baf9 100644 --- a/Postman/Postman-Email-Log/PostmanEmailLogService.php +++ b/Postman/Postman-Email-Log/PostmanEmailLogService.php @@ -167,8 +167,9 @@ if ( ! class_exists( 'PostmanEmailLogService' ) ) { $message = $post_id->get_error_message(); printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), esc_html( $message ) ); - return; }); + + return; } $this->logger->debug( sprintf( 'Saved message #%s to the database', $post_id ) ); |