[wp-trac] [WordPress Trac] #9273: Add RSS Error handling
functionality to RSS Widget displays
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 4 11:10:21 GMT 2009
#9273: Add RSS Error handling functionality to RSS Widget displays
--------------------------+-------------------------------------------------
Reporter: DD32 | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version: 2.8
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Upon hitting a SimplePie(and thus, WP_Error) error condition, The RSS
widgets die with a fatal error.
Attached patch checks for WP_Error, and exits the function as expected
(from pervious behaviour). If the user is an admin (Or its on the
dashboard), The user recieves a message along the lines of "RSS Error: WP
HTTP: no route to host"
Of course, The check for is_admin() can be removed.. Which might suit it
better for cases where non-admins/non-staff access such pages.. Wasnt sure
at the time of writing the patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9273>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list