Make WordPress Core

Changeset 14455


Ignore:
Timestamp:
05/04/2010 09:41:45 PM (14 years ago)
Author:
nacin
Message:

Revert part of r14429 as it broke HTTP in setup-config. Revisit when we decide to fully deprecate get_bloginfo(url). see #9008.

File:
1 edited

Legend:

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

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