Make WordPress Core


Ignore:
Timestamp:
12/20/2012 03:55:32 PM (13 years ago)
Author:
helen
Message:

its <=> it's in documentation, along with a rogue the, The, and looses. props trepmal. fixes #22665.

File:
1 edited

Legend:

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

    r22118 r23191  
    135135
    136136        // If we are streaming to a file but no filename was given drop it in the WP temp dir
    137         // and pick it's name using the basename of the $url
     137        // and pick its name using the basename of the $url
    138138        if ( $r['stream']  && empty( $r['filename'] ) )
    139139            $r['filename'] = get_temp_dir() . basename( $url );
     
    531531            return !preg_match($wildcard_regex, $check['host']);
    532532        else
    533             return !in_array( $check['host'], $accessible_hosts ); //Inverse logic, If its in the array, then we can't access it.
     533            return !in_array( $check['host'], $accessible_hosts ); //Inverse logic, If it's in the array, then we can't access it.
    534534
    535535    }
     
    556556        $path = ! empty( $url_parts['path'] ) ? $url_parts['path'] : '/';
    557557
    558         // If the it's a root-relative path, then great
     558        // If it's a root-relative path, then great
    559559        if ( ! empty( $relative_url_parts['path'] ) && '/' == $relative_url_parts['path'][0] ) {
    560560            $path = $relative_url_parts['path'];
Note: See TracChangeset for help on using the changeset viewer.