[wp-trac] [WordPress Trac] #24646: fetch_feed() returns WP_Error with "A valid URL was not provided"
WordPress Trac
noreply at wordpress.org
Sat Jun 29 16:48:13 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 mboynes):
Replying to [comment:24 nacin]:
Sorry for the delay. Keeping the code as simple as possible:
{{{
print_r( wp_remote_get( 'http://localhost:9200' ) );
}}}
This does not work in the latest nightly build (I get "A valid URL was not
provided."). I tested it on 3.5.2 as requested and it ''does'' continue to
work there. Of course, you don't need to be running an elasticsearch
server to test this; you'd either get "couldn't connect to host" or "a
valid url was not provided" on 3.5.2 and trunk respectively. I tested with
non-local hosts, IPs (local and public), and got the same results in all
cases (not particularly surprising since the issue is the port, but
there's no harm in thorough testing).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24646#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list