diff --git a/wp-admin/import-mt.php b/wp-admin/import-mt.php index ff70fd3bf5..1de30d9eb3 100644 --- a/wp-admin/import-mt.php +++ b/wp-admin/import-mt.php @@ -1,5 +1,7 @@ body { font-family: Georgia, "Times New Roman", Times, serif; - margin-left: 15%; - margin-right: 15%; + margin-left: 20%; + margin-right: 20%; } #logo { margin: 0; @@ -41,14 +43,14 @@ switch($step) { case 0: ?> -
Howdy! We're about to begin the process to import all of your Movable Type entries into WordPress. It's pretty easy, but it can possible take a little bit of time so be patient. Before we get started, you need to edit this file (import-mt.php
) and change one line so we know where to find your MT export file. Look for the line that says:
Howdy! We’re about to begin the process to import all of your Movable Type entries into WordPress. Before we get started, you need to edit this file (import-mt.php
) and change one line so we know where to find your MT export file. To make this easy put the import file into the wp-admin
directory. Look for the line that says:
define('MTEXPORT', '');
and change it to
-define('MTEXPORT', '/path/to/your/import.txt');
define('MTEXPORT', 'import.txt');
You have to do this manually for security reasons.
If you've done that and you’re all ready, let's go! Remember that the import process may take a minute or so if you have a large number of entries and comments. Think of all the rebuilding time you'll be saving once it's done. :)
On our test system, importing a blog of 1189 entries and about a thousand comments took 18 seconds.
-The importer is smart enough not to import duplicates, so you can run this multiple times without worry if for whatever reason it doesn't finish.
+The importer is smart enough not to import duplicates, so you can run this multiple times without worry if—for whatever reason—it doesn't finish.
"; foreach ($posts as $post) { if ('' != trim($post)) { ++$i; unset($post_categories); - $post = preg_replace("/(\r\n|\n|\r)/", "\n", $post); echo "