[wp-trac] [WordPress Trac] #24646: fetch_feed() returns WP_Error with "A valid URL was not provided"

WordPress Trac noreply at wordpress.org
Wed Jul 3 15:13:10 UTC 2013


#24646: fetch_feed() returns WP_Error with "A valid URL was not provided"
--------------------------+--------------------
 Reporter:  husdaman      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5.3
Component:  Feeds         |     Version:  3.5.2
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by tjb1013):

 Replying to [comment:16 Otto42]:
 >

 > @husdaman: A temporary workaround:
 > {{{
 > add_filter('http_request_reject_unsafe_urls','__return_false');
 > }}}
 >
 > This disables the URL safety check entirely, so only use it in cases
 where the site is not-publicly accessible (like your internal site).



 Tried this on my intranet site, but no go.

 I pull an RSS feed from a different virtual host that is on the same
 server. Both sites only accessible internally.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24646#comment:31>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list