diff --git wp-includes/class-http.php wp-includes/class-http.php
index 41cfe84..666ac08 100644
|
|
class WP_Http { |
183 | 183 | |
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 | $r['local'] = ( ! empty ( $homeURL['host'] ) && $homeURL['host'] == $arrURL['host'] ) || 'localhost' == $arrURL['host']; |
187 | 187 | unset( $homeURL ); |
188 | 188 | |
189 | 189 | // If we are streaming to a file but no filename was given drop it in the WP temp dir |