Skip to content
Snippets Groups Projects
Commit 0f9af768 authored by Mohammad Jangda's avatar Mohammad Jangda
Browse files

XML Client: implement test_connection method, see #15

parent 6cd7bca5
No related branches found
No related tags found
No related merge requests found
...@@ -278,8 +278,7 @@ class Syndication_WP_XML_Client implements Syndication_Client { ...@@ -278,8 +278,7 @@ class Syndication_WP_XML_Client implements Syndication_Client {
* @return boolean true on success false on failure. * @return boolean true on success false on failure.
*/ */
public function test_connection() { public function test_connection() {
// TODO: Implement test_connection() method. return ! is_wp_error( $this->fetch_feed() );
return true;
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment