Make WordPress Core


Ignore:
Timestamp:
05/04/2010 12:28:29 AM (15 years ago)
Author:
wpmuguru
Message:

use homeurl(), props PeteMall, see #9008

File:
1 edited

Legend:

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

    r14404 r14429  
    252252
    253253        // Determine if this request is to OUR install of WordPress
    254         $homeURL = parse_url(get_bloginfo('url'));
     254        $homeURL = 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.