Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. git-svn-id: https://develop.svn.wordpress.org/trunk@58934 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information