[wp-trac] [WordPress Trac] #5420: Better exit for wp-mail.php
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 4 13:41:41 GMT 2007
#5420: Better exit for wp-mail.php
-------------------------+--------------------------------------------------
Reporter: lexhair | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.5
Component: General | Version: 2.3.1
Severity: minor | Keywords:
-------------------------+--------------------------------------------------
Executing wp-mail.php when the POP3 mailbox is empty results in wp_die()
and a 500 error. When you run wp-mail.php from the cron tab, it logs the
500 error.
I don't believe it should return an error in this case. The script runs as
it should and just doesn't find any data to manipulate like a zero row
query. Perhaps a more graceful exit could be considered. Thank you.
--
Ticket URL: <http://trac.wordpress.org/ticket/5420>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list