Prevent fatal by checking for \WP_Error, Codebase Ticket #802 addendum [connerbw]