Changeset 28865
- Timestamp:
- 06/27/2014 12:24:36 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-http.php
r28506 r28865 184 184 // Determine if this request is to OUR install of WordPress 185 185 $homeURL = parse_url( get_bloginfo( 'url' ) ); 186 $r['local'] = $homeURL['host'] == $arrURL['host'] || 'localhost' == $arrURL['host']; 186 if ( isset( $homeURL['host'] ) ) { 187 $r['local'] = ( $homeURL['host'] == $arrURL['host'] || 'localhost' == $arrURL['host'] ); 188 } else { 189 $r['local'] = false; 190 } 187 191 unset( $homeURL ); 188 192
Note: See TracChangeset
for help on using the changeset viewer.