WordPress.org

Make WordPress Core

Ticket #3178: mt.php.v2.diff

File mt.php.v2.diff, 1.3 KB (added by technosailor, 12 years ago)

Same as mt.php.diff with edited language on main MT import screen

  • wp-admin/import/mt.php

     
    2323?>
    2424<p><?php _e('Howdy! We&#8217;re about to begin the process to import all of your Movable Type entries into WordPress. To begin, select a file to upload and click Import.'); ?></p>
    2525<?php wp_import_upload_form( add_query_arg('step', 1) ); ?>
    26         <p><?php _e('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>
     26        <p><?php _e('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 the file is very large, you might try splitting up the import file into pieces.'); ?> </p>
    2727<?php
    2828                $this->footer();
    2929        }
     
    7575
    7676        function get_entries() {
    7777                set_magic_quotes_runtime(0);
     78                ini_set('memory_limit', '50M');
    7879                $importdata = file($this->file); // Read the file into an array
    7980                $importdata = implode('', $importdata); // squish it
    8081                $importdata = preg_replace("/(\r\n|\n|\r)/", "\n", $importdata);