[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:57:22 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 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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24646#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list