mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
Remove extraneous tag. Props nbachiyski. fixes #4838
git-svn-id: http://svn.automattic.com/wordpress/trunk@5962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
67d21286a8
commit
82705c845d
@ -179,7 +179,7 @@ class MT_Import {
|
|||||||
if ( $_POST['upload_type'] === 'ftp' ) {
|
if ( $_POST['upload_type'] === 'ftp' ) {
|
||||||
$file['file'] = ABSPATH . 'wp-content/mt-export.txt';
|
$file['file'] = ABSPATH . 'wp-content/mt-export.txt';
|
||||||
if ( !file_exists($file['file']) )
|
if ( !file_exists($file['file']) )
|
||||||
$file['error'] = __('<code>mt-export.txt</code> does not exist</code>');
|
$file['error'] = __('<code>mt-export.txt</code> does not exist');
|
||||||
} else {
|
} else {
|
||||||
$file = wp_import_handle_upload();
|
$file = wp_import_handle_upload();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user