WordPress.org

Make WordPress Core

Ticket #40190: 40190.diff

File 40190.diff, 771 bytes (added by naomicbush, 3 years ago)

Fix typo

  • wp-includes/http.php

    diff --git a/wp-includes/http.php b/wp-includes/http.php
    index 862e456..d183f53 100644
    a b function ms_allowed_http_request_hosts( $is_external, $host ) { 
    650650 *                          @see http://php.net/manual/en/function.parse-url.php
    651651 * @return mixed False on parse failure; Array of URL components on success;
    652652 *               When a specific component has been requested: null if the component
    653  *               doesn't exist in the given URL; a sting or - in the case of
     653 *               doesn't exist in the given URL; a string or - in the case of
    654654 *               PHP_URL_PORT - integer when it does. See parse_url()'s return values.
    655655 */
    656656function wp_parse_url( $url, $component = -1 ) {