Wordpress 3.6
[autoinstalls/wordpress.git] / wp-admin / includes / class-wp-importer.php
index 0268e7e6ee39835349edcf2a21d768a3091818ba..b017c84fcd3a0842ffdc6ff0942fee424a005c8f 100644 (file)
@@ -183,7 +183,6 @@ class WP_Importer {
 
                $headers = array();
                $args = array();
-               $args['reject_unsafe_urls'] = true;
                if ( true === $head )
                        $args['method'] = 'HEAD';
                if ( !empty( $username ) && !empty( $password ) )
@@ -191,7 +190,7 @@ class WP_Importer {
 
                $args['headers'] = $headers;
 
-               return wp_remote_request( $url, $args );
+               return wp_safe_remote_request( $url, $args );
        }
 
        /**