mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-12 06:43:20 +01: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();
|
||||||
}
|
}
|
||||||
@ -447,4 +447,4 @@ class MT_Import {
|
|||||||
$mt_import = new MT_Import();
|
$mt_import = new MT_Import();
|
||||||
|
|
||||||
register_importer('mt', __('Movable Type and TypePad'), __('Import posts and comments from a Movable Type or Typepad blog'), array ($mt_import, 'dispatch'));
|
register_importer('mt', __('Movable Type and TypePad'), __('Import posts and comments from a Movable Type or Typepad blog'), array ($mt_import, 'dispatch'));
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user