mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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: * [https://github.com/WordPress/Requests/releases/tag/v2.0.6 Requests 2.0.6 release notes] * [https://github.com/WordPress/Requests/compare/v2.0.5...v2.0.6 Full list of changes in Requests 2.0.6] Follow-up to [54997], [55007], [55046], [55225], [55296]. Props jrf, costdev. Fixes #58079. git-svn-id: https://develop.svn.wordpress.org/trunk@55629 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -15,7 +15,7 @@ class Tests_HTTP_IncludeOldRequestsClass extends WP_UnitTestCase {
|
||||
*/
|
||||
public function test_should_include_old_requests_class() {
|
||||
$this->expectDeprecation();
|
||||
$this->expectDeprecationMessage( 'The PSR-0 `Requests_...` class names in the Request library are deprecated.' );
|
||||
$this->expectDeprecationMessage( 'The PSR-0 `Requests_...` class names in the Requests library are deprecated.' );
|
||||
|
||||
new Requests();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user