Make WordPress Core


Ignore:
Timestamp:
04/05/2023 01:10:53 PM (3 years ago)
Author:
SergeyBiryukov
Message:

External Libraries: Update the Requests library to version 2.0.6.

This is a maintenance release with minor changes:

  • Fix typo in deprecation notice.
  • Minor internal improvements for passing the correct type to function calls.
  • Confirmed compatibility with PHP 8.2. No changes were needed, so Requests 2.0.1 and higher can be considered compatible with PHP 8.2.
  • Various documentation improvements and other general housekeeping.

References:

Follow-up to [54997], [55007], [55046], [55225], [55296].

Props jrf, costdev.
Fixes #58079.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/Requests/src/Transport/Curl.php

    r54997 r55629  
    466466     * @param array $options Request options
    467467     * @return string|false HTTP response data including headers. False if non-blocking.
    468      * @throws \WpOrg\Requests\Exception
     468     * @throws \WpOrg\Requests\Exception If the request resulted in a cURL error.
    469469     */
    470470    public function process_response($response, $options) {
     
    562562     * Format a URL given GET data
    563563     *
    564      * @param string $url
     564     * @param string       $url  Original URL.
    565565     * @param array|object $data Data to build query using, see {@link https://www.php.net/http_build_query}
    566566     * @return string URL with data
Note: See TracChangeset for help on using the changeset viewer.