[wp-trac] [WordPress Trac] #49385: wp_remote_get() cannot retrieve webcal URIs
WordPress Trac
noreply at wordpress.org
Fri Feb 7 19:08:54 UTC 2020
#49385: wp_remote_get() cannot retrieve webcal URIs
------------------------------------------+------------------------------
Reporter: johnjamesjacoby | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: HTTP API | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------------------
Comment (by johnjamesjacoby):
I just read the ''second'' section of the PHP docs for
`WP_Http::request()` which says:
{{{
* Send an HTTP request to a URI.
*
* Please note: The only URI that are supported in the HTTP
Transport implementation
* are the HTTP and HTTPS protocols.
}}}
So, even though it works for URIs, it only works for HTTP and HTTPS, which
really stinks.
----
Perhaps we could introduce a filter here to allow plugins to still use
this API with unsupported protocols at their own risk?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49385#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list