diff --git a/includes/class-syndication-wp-xml-client.php b/includes/class-syndication-wp-xml-client.php index c715f5862903d9bc217d2e021214ebd1bf80dae0..aa93cbb340db6015770dd71c035bac330e40e300 100644 --- a/includes/class-syndication-wp-xml-client.php +++ b/includes/class-syndication-wp-xml-client.php @@ -50,6 +50,9 @@ class Syndication_WP_XML_Client implements Syndication_Client { * @return array array( 'id' => (string) $transport_name, 'modes' => array( 'push', 'pull' ), 'name' => (string) $name ); */ private function set_feed_url($url) { + + $url = apply_filters( 'syn_feed_url', $url ); + if ( parse_url( $url ) ) { $this->feed_url = $url; } else {