[wp-cvs] wordpress/wp-admin import-mt.php,1.18,1.19
Matthew Mullenweg
saxmatt at users.sourceforge.net
Tue Feb 1 01:51:08 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6658/wp-admin
Modified Files:
import-mt.php
Log Message:
Old variable would mysteriously crash some configs.
Index: import-mt.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/import-mt.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** import-mt.php 6 Jan 2005 23:10:16 -0000 1.18
--- import-mt.php 1 Feb 2005 01:51:05 -0000 1.19
***************
*** 1,4 ****
<?php
! define('MTEXPORT', '');// enter the relative path of the import.txt file containing the mt entries. If the file is called import.txt and it is /wp-admin, then this line
//should be define('MTEXPORT', 'import.txt');
--- 1,5 ----
<?php
! define('MTEXPORT', '');
! // enter the relative path of the import.txt file containing the mt entries. If the file is called import.txt and it is /wp-admin, then this line
//should be define('MTEXPORT', 'import.txt');
***************
*** 6,10 ****
require('../wp-config.php');
require ('upgrade-functions.php');
! $step = $HTTP_GET_VARS['step'];
if (!$step) $step = 0;
?>
--- 7,11 ----
require('../wp-config.php');
require ('upgrade-functions.php');
! $step = $_GET['step'];
if (!$step) $step = 0;
?>
***************
*** 56,60 ****
<p>You have to do this manually for security reasons.</p>
<p>If you've done that and you’re all ready, <a href="import-mt.php?step=1">let's go</a>! 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. :)</p>
! <p>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. </p>
<?php
break;
--- 57,61 ----
<p>You have to do this manually for security reasons.</p>
<p>If you've done that and you’re all ready, <a href="import-mt.php?step=1">let's go</a>! 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. :)</p>
! <p>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. If you get an <strong>out of memory</strong> error try splitting up the import file into pieces. </p>
<?php
break;
More information about the cvs
mailing list