diff options
Diffstat (limited to 'wp-mail.php')
-rw-r--r-- | wp-mail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-mail.php b/wp-mail.php index 2512907..7ab76f8 100644 --- a/wp-mail.php +++ b/wp-mail.php @@ -17,7 +17,7 @@ if (!$pop3->connect(get_settings('mailserver_url'), get_settings('mailserver_por endif; $count = $pop3->login(get_settings('mailserver_login'), get_settings('mailserver_pass')); -if (0 == $count) die(__('There doesn’t seem to be any new mail.')); +if (0 == $count) wp_die(__('There doesn’t seem to be any new mail.')); for ($i=1; $i <= $count; $i++) : |