From d98ee0cd1817078d93961daf37bc79fca192630b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 17 Mar 2017 19:01:16 +0000 Subject: [PATCH] Docs: Fix typo in `wp_parse_url()` and `_get_component_from_parsed_url_array()` docblocks. Props naomicbush. Fixes #40190. git-svn-id: https://develop.svn.wordpress.org/trunk@40299 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/http.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/http.php b/src/wp-includes/http.php index 862e456ae3..3e26b08fd8 100644 --- a/src/wp-includes/http.php +++ b/src/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 ) {