WordPress.org

Make WordPress Core

Changeset 2180


Ignore:
Timestamp:
02/01/2005 01:51:05 AM (15 years ago)
Author:
saxmatt
Message:

Old variable would mysteriously crash some configs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import-mt.php

    r2060 r2180  
    11<?php
    2 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
     2define('MTEXPORT', '');
     3// 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
    34//should be define('MTEXPORT', 'import.txt');
    45
     
    67require('../wp-config.php');
    78require ('upgrade-functions.php');
    8 $step = $HTTP_GET_VARS['step'];
     9$step = $_GET['step'];
    910if (!$step) $step = 0;
    1011?>
     
    5657<p>You have to do this manually for security reasons.</p>
    5758<p>If you've done that and you&#8217;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>
    58 <p>The importer is smart enough not to import duplicates, so you can run this multiple times without worry if&#8212;for whatever reason&#8212;it doesn't finish. </p>
     59<p>The importer is smart enough not to import duplicates, so you can run this multiple times without worry if&#8212;for whatever reason&#8212;it doesn't finish. If you get an <strong>out of memory</strong> error try splitting up the import file into pieces. </p>
    5960<?php
    6061    break;
Note: See TracChangeset for help on using the changeset viewer.