CoreFiles by mySites.guru
Capability.php36 lines, 652 bytes, from wordpress-6.5.zip
Raw History Compare with 6.4.14
md5
640e7a0ccfa41477127b8689c4edb8d9
sha1
13aa6b122c871f21402cfec301117f18bb707c45
sha256
0d7c9dc6d64eeb226b77af8248775ed3903af655ffffd6796d14704e0f68802b
<?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,
	];
}

The same content is in 202 releases, WordPress 6.3-beta1 to 7.2-beta5. See them all, or every version of this file.