Changeset 58934
- Timestamp:
- 08/25/2024 11:11:02 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/http.php
r58682 r58934 390 390 */ 391 391 function wp_http_supports( $capabilities = array(), $url = null ) { 392 $http = _wp_http_get_object();393 394 392 $capabilities = wp_parse_args( $capabilities ); 395 393 … … 408 406 } 409 407 410 return (bool) $http->_get_first_available_transport( $capabilities );408 return WpOrg\Requests\Requests::has_capabilities( $capabilities ); 411 409 } 412 410
Note: See TracChangeset
for help on using the changeset viewer.