-
-
Save cgrymala/68f0c462911c5c12f333 to your computer and use it in GitHub Desktop.
Checking for SimplePie error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( $this->feed->error() ) { | |
return $this->feed = new WP_Error( 'simplepie-error', $this->feed->error() ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment