From 9f4bbcdb7896a7baba9eb88add281f3fbcdec0ef Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 17 Mar 2017 19:02:40 +0000 Subject: [PATCH] Docs: Fix typo in `wp_parse_url()` and `_get_component_from_parsed_url_array()` docblocks. Props naomicbush. Fixes #40190. Built from https://develop.svn.wordpress.org/trunk@40299 git-svn-id: http://core.svn.wordpress.org/trunk@40206 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/http.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/http.php b/wp-includes/http.php index 862e456ae3..3e26b08fd8 100644 --- a/wp-includes/http.php +++ b/wp-includes/http.php @@ -650,7 +650,7 @@ function ms_allowed_http_request_hosts( $is_external, $host ) { * @see http://php.net/manual/en/function.parse-url.php * @return mixed False on parse failure; Array of URL components on success; * When a specific component has been requested: null if the component - * doesn't exist in the given URL; a sting or - in the case of + * doesn't exist in the given URL; a string or - in the case of * PHP_URL_PORT - integer when it does. See parse_url()'s return values. */ function wp_parse_url( $url, $component = -1 ) { @@ -695,7 +695,7 @@ function wp_parse_url( $url, $component = -1 ) { * @see http://php.net/manual/en/function.parse-url.php * @return mixed False on parse failure; Array of URL components on success; * When a specific component has been requested: null if the component - * doesn't exist in the given URL; a sting or - in the case of + * doesn't exist in the given URL; a string or - in the case of * PHP_URL_PORT - integer when it does. See parse_url()'s return values. */ function _get_component_from_parsed_url_array( $url_parts, $component = -1 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 9d20aab0ed..3dd896a71c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40298'; +$wp_version = '4.8-alpha-40299'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.