From 427ae1692db5b76fa54b63d6fbfb814596aa21b3 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 9 Feb 2018 17:57:30 +0000 Subject: [PATCH] Docs: Un-correct an incorrection correction. See [42680] See #42505 Built from https://develop.svn.wordpress.org/trunk@42681 git-svn-id: http://core.svn.wordpress.org/trunk@42509 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-http-curl.php | 2 +- wp-includes/class-wp-http-streams.php | 8 +++++++- wp-includes/version.php | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-http-curl.php b/wp-includes/class-wp-http-curl.php index e52aee4d92..52b1459b51 100644 --- a/wp-includes/class-wp-http-curl.php +++ b/wp-includes/class-wp-http-curl.php @@ -112,7 +112,7 @@ class WP_Http_Curl { $is_local = isset( $r['local'] ) && $r['local']; $ssl_verify = isset( $r['sslverify'] ) && $r['sslverify']; if ( $is_local ) { - /** This filter is documented in wp-includes/class-http.php */ + /** This filter is documented in wp-includes/class-wp-http-streams.php */ $ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify ); } elseif ( ! $is_local ) { /** This filter is documented in wp-includes/class-http.php */ diff --git a/wp-includes/class-wp-http-streams.php b/wp-includes/class-wp-http-streams.php index 48faa15350..c23aaf7f4b 100644 --- a/wp-includes/class-wp-http-streams.php +++ b/wp-includes/class-wp-http-streams.php @@ -93,7 +93,13 @@ class WP_Http_Streams { $is_local = isset( $r['local'] ) && $r['local']; $ssl_verify = isset( $r['sslverify'] ) && $r['sslverify']; if ( $is_local ) { - /** This filter is documented in wp-includes/class-http.php */ + /** + * Filters whether SSL should be verified for local requests. + * + * @since 2.8.0 + * + * @param bool $ssl_verify Whether to verify the SSL connection. Default true. + */ $ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify ); } elseif ( ! $is_local ) { /** This filter is documented in wp-includes/class-http.php */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 470c692119..a46e70a55d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42680'; +$wp_version = '5.0-alpha-42681'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.