[wp-trac] [WordPress Trac] #37708: `wp_http_supports()` doesn't reflect what Requests can do
WordPress Trac
noreply at wordpress.org
Sun Aug 25 23:11:19 UTC 2024
#37708: `wp_http_supports()` doesn't reflect what Requests can do
--------------------------+----------------------------
Reporter: dd32 | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: HTTP API | Version: 4.6
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+----------------------------
Changes (by peterwilsoncc):
* owner: (none) => peterwilsoncc
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"58934" 58934]:
{{{
#!CommitTicketReference repository="" revision="58934"
HTTP API: Update `wp_http_supports()` to use Requests.
Update the capabilities check in `wp_http_supports` to use
`WpOrg\Requests\Requests::has_capabilities` rather than the deprecated
`WP_HTTP::_get_first_available_transport()`.
Props dd32, mukesh27, costdev, desrosj, johnbillion, jorbin, jrf,
chaion07.
Fixes #37708.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37708#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list