diff --git a/src/wp-includes/class-wp-http-streams.php b/src/wp-includes/class-wp-http-streams.php index 48078cfafa..b0dc302a39 100644 --- a/src/wp-includes/class-wp-http-streams.php +++ b/src/wp-includes/class-wp-http-streams.php @@ -101,8 +101,9 @@ class WP_Http_Streams { * @since 2.8.0 * @since 5.1.0 The `$url` parameter was added. * - * @param bool $ssl_verify Whether to verify the SSL connection. Default true. - * @param string $url The request URL. + * @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. */ $ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url ); } elseif ( ! $is_local ) { diff --git a/src/wp-includes/class-wp-http.php b/src/wp-includes/class-wp-http.php index 7edffe0e6b..6f4fa47200 100644 --- a/src/wp-includes/class-wp-http.php +++ b/src/wp-includes/class-wp-http.php @@ -371,8 +371,9 @@ class WP_Http { * @since 2.8.0 * @since 5.1.0 The `$url` parameter was added. * - * @param bool $ssl_verify Whether to verify the SSL connection. Default true. - * @param string $url The request URL. + * @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. */ $options['verify'] = apply_filters( 'https_ssl_verify', $options['verify'], $url );