Remove extraneous tag. Props nbachiyski. fixes #4838
git-svn-id: https://develop.svn.wordpress.org/trunk@5962 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f763c751d8
commit
299c9e1109
|
@ -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…
Reference in New Issue