HTTP API: Correct the documentation for the `https_ssl_verify` and `https_local_ssl_verify` filters.
The value for both these filters can also contain a string path to a CA file used to authenticate the identity of the remote server. Props chesio, mcaskill Fixes #54803 Built from https://develop.svn.wordpress.org/trunk@55063 git-svn-id: http://core.svn.wordpress.org/trunk@54596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
57d74635e5
commit
779ead447e
|
@ -101,7 +101,8 @@ class WP_Http_Streams {
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
* @since 5.1.0 The `$url` parameter was added.
|
* @since 5.1.0 The `$url` parameter was added.
|
||||||
*
|
*
|
||||||
* @param bool $ssl_verify Whether to verify the SSL connection. Default true.
|
* @param bool|string $ssl_verify Boolean to control whether to verify the SSL connection
|
||||||
|
* or path to an SSL certificate.
|
||||||
* @param string $url The request URL.
|
* @param string $url The request URL.
|
||||||
*/
|
*/
|
||||||
$ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url );
|
$ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url );
|
||||||
|
|
|
@ -371,7 +371,8 @@ class WP_Http {
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
* @since 5.1.0 The `$url` parameter was added.
|
* @since 5.1.0 The `$url` parameter was added.
|
||||||
*
|
*
|
||||||
* @param bool $ssl_verify Whether to verify the SSL connection. Default true.
|
* @param bool|string $ssl_verify Boolean to control whether to verify the SSL connection
|
||||||
|
* or path to an SSL certificate.
|
||||||
* @param string $url The request URL.
|
* @param string $url The request URL.
|
||||||
*/
|
*/
|
||||||
$options['verify'] = apply_filters( 'https_ssl_verify', $options['verify'], $url );
|
$options['verify'] = apply_filters( 'https_ssl_verify', $options['verify'], $url );
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.2-alpha-55062';
|
$wp_version = '6.2-alpha-55063';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue