[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 17:42:49 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:32 nacin]:
 > The proper check would instead be:
 > {{{
 > add_filter( 'http_request_args', function( $args ) {
 >    $args['reject_unsafe_urls'] = false;
 >    return $args;
 > } );
 > }}}
 >
 > The http_request_reject_unsafe_urls filter only covers defaults.

 That worked, thanks.

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


More information about the wp-trac mailing list