Skip to content

Commit 6039233

Browse files
committed
Bump version
1 parent 37dfd72 commit 6039233

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/wordpress-importer.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Description: Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.
66
Author: wordpressdotorg
77
Author URI: https://wordpress.org/
8-
Version: 0.6.3
8+
Version: 0.6.4
99
Text Domain: wordpress-importer
1010
License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
1111
*/
@@ -996,15 +996,15 @@ function fetch_remote_file( $url, $post ) {
996996
) );
997997

998998
$headers = wp_remote_retrieve_headers( $remote_response );
999-
999+
10001000
// request failed
10011001
if ( ! $headers ) {
10021002
@unlink( $upload['file'] );
10031003
return new WP_Error( 'import_file_error', __('Remote server did not respond', 'wordpress-importer') );
10041004
}
1005-
1005+
10061006
$remote_response_code = wp_remote_retrieve_response_code( $remote_response );
1007-
1007+
10081008
// make sure the fetch was successful
10091009
if ( $remote_response_code != '200' ) {
10101010
@unlink( $upload['file'] );

0 commit comments

Comments
 (0)