Make WordPress Core

Changeset 40299


Ignore:
Timestamp:
03/17/2017 07:01:16 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typo in wp_parse_url() and _get_component_from_parsed_url_array() docblocks.

Props naomicbush.
Fixes #40190.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/http.php

    r38814 r40299  
    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 */
     
    696696 * @return mixed False on parse failure; Array of URL components on success;
    697697 *               When a specific component has been requested: null if the component
    698  *               doesn't exist in the given URL; a sting or - in the case of
     698 *               doesn't exist in the given URL; a string or - in the case of
    699699 *               PHP_URL_PORT - integer when it does. See parse_url()'s return values.
    700700 */
Note: See TracChangeset for help on using the changeset viewer.