From d1565514e442fa970467bf4d4dd1b9e49dcedf75 Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Thu, 10 Mar 2022 16:02:01 +0000 Subject: [PATCH] HTTP API: Fix typo in and improve readability of `wp_parse_url()` docblock. Removes the "starting" word from "starting containing" as this is a typo. Includes minor formatting adjustments to improve readability. Follow-up to [38726]. Props mehedi890, SergeyBiryukov, mukesh27. Fixes #55355. Built from https://develop.svn.wordpress.org/trunk@52838 git-svn-id: http://core.svn.wordpress.org/trunk@52427 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/http.php | 13 ++++++------- wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/wp-includes/http.php b/wp-includes/http.php index c543956947..2c8c3125ae 100644 --- a/wp-includes/http.php +++ b/wp-includes/http.php @@ -654,16 +654,15 @@ function ms_allowed_http_request_hosts( $is_external, $host ) { } /** - * A wrapper for PHP's parse_url() function that handles consistency in the return - * values across PHP versions. + * A wrapper for PHP's parse_url() function that handles consistency in the return values + * across PHP versions. * - * PHP 5.4.7 expanded parse_url()'s ability to handle non-absolute url's, including - * schemeless and relative url's with :// in the path. This function works around + * PHP 5.4.7 expanded parse_url()'s ability to handle non-absolute URLs, including + * schemeless and relative URLs with "://" in the path. This function works around * those limitations providing a standard output on PHP 5.2~5.4+. * - * Secondly, across various PHP versions, schemeless URLs starting containing a ":" - * in the query are being handled inconsistently. This function works around those - * differences as well. + * Secondly, across various PHP versions, schemeless URLs containing a ":" in the query + * are being handled inconsistently. This function works around those differences as well. * * @since 4.4.0 * @since 4.7.0 The `$component` parameter was added for parity with PHP's `parse_url()`. diff --git a/wp-includes/version.php b/wp-includes/version.php index 87e1cd24f8..aaa60d2b61 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52837'; +$wp_version = '6.0-alpha-52838'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.