Make WordPress Core

Changeset 14430


Ignore:
Timestamp:
05/04/2010 04:57:22 AM (14 years ago)
Author:
nacin
Message:

Revert accidental removal of parse_url(). see #9008, props PeteMall.

File:
1 edited

Legend:

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

    r14429 r14430  
    252252
    253253        // Determine if this request is to OUR install of WordPress
    254         $homeURL = home_url();
     254        $homeURL = parse_url( home_url() );
    255255        $r['local'] = $homeURL['host'] == $arrURL['host'] || 'localhost' == $arrURL['host'];
    256256        unset($homeURL);
Note: See TracChangeset for help on using the changeset viewer.