WordPress.org

Make WordPress Core

Changeset 15284


Ignore:
Timestamp:
06/19/2010 06:54:21 AM (8 years ago)
Author:
dd32
Message:

Fix typo in HTTP Class. Props filosofo. Fixes #13897 for trunk

File:
1 edited

Legend:

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

    r15143 r15284  
    241241        $arrURL = parse_url($url);
    242242
    243         if ( empty( $url ) || empty($url['scheme'] ) )
     243        if ( empty( $url ) || empty( $arrURL['scheme'] ) )
    244244            return new WP_Error('http_request_failed', __('A valid URL was not provided.'));
    245245
Note: See TracChangeset for help on using the changeset viewer.