[wp-trac] [WordPress Trac] #58705: Deprecate WP_Http_Curl and WP_Http_Streams classes
WordPress Trac
noreply at wordpress.org
Mon Sep 25 19:49:38 UTC 2023
#58705: Deprecate WP_Http_Curl and WP_Http_Streams classes
--------------------------------------+-----------------------
Reporter: SergeyBiryukov | Owner: desrosj
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.4
Component: HTTP API | Version: 4.6
Severity: normal | Resolution:
Keywords: has-patch needs-dev-note | Focuses:
--------------------------------------+-----------------------
Comment (by hellofromTonya):
Replying to [comment:6 desrosj]:
> Reopening this to consider one final adjustment related to this.
>
> The `http_api_transports` filter is within
`WP_Http::_get_first_available_transport()` and is only used within that
method (nowhere else in Core).
>
> I think it's worth also deprecating this filter.
As the public method is now deprecated, yes, I agree with you @desrosj
that it makes sense to also deprecate the filter.
Here's a search query of the plugins using that filter
https://wpdirectory.net/search/01HB6Y1MTDKR9BTT9JAP3XD3H1.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58705#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list