mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@55629 git-svn-id: http://core.svn.wordpress.org/trunk@55141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
37 lines
652 B
PHP
37 lines
652 B
PHP
<?php
|
|
/**
|
|
* Capability interface declaring the known capabilities.
|
|
*
|
|
* @package Requests\Utilities
|
|
*/
|
|
|
|
namespace WpOrg\Requests;
|
|
|
|
/**
|
|
* Capability interface declaring the known capabilities.
|
|
*
|
|
* This is used as the authoritative source for which capabilities can be queried.
|
|
*
|
|
* @package Requests\Utilities
|
|
*/
|
|
interface Capability {
|
|
|
|
/**
|
|
* Support for SSL.
|
|
*
|
|
* @var string
|
|
*/
|
|
const SSL = 'ssl';
|
|
|
|
/**
|
|
* Collection of all capabilities supported in Requests.
|
|
*
|
|
* Note: this does not automatically mean that the capability will be supported for your chosen transport!
|
|
*
|
|
* @var string[]
|
|
*/
|
|
const ALL = [
|
|
self::SSL,
|
|
];
|
|
}
|