Make WordPress Core

Ticket #10686: mt.diff

File mt.diff, 1.9 KB (added by niallkennedy, 16 years ago)

TypePad, not Typepad

  • mt.php

     
    11<?php
    22/**
    3  * Movable Type and Typepad Importer
     3 * Movable Type and TypePad Importer
    44 *
    55 * @package WordPress
    66 * @subpackage Importer
    77 */
    88
    99/**
    10  * Moveable Type and Typepad Importer class
     10 * Moveable Type and TypePad Importer class
    1111 *
    12  * Upload your exported Movable Type or Typepad entries into WordPress.
     12 * Upload your exported Movable Type or TypePad entries into WordPress.
    1313 *
    1414 * @since unknown
    1515 */
     
    3636                $this->header();
    3737?>
    3838<div class="narrow">
    39 <p><?php _e('Howdy! We&#8217;re about to begin importing all of your Movable Type or Typepad entries into WordPress. To begin, either choose a file to upload and click &#8220;Upload file and import&#8221;, or use FTP to upload your MT export file as <code>mt-export.txt</code> in your <code>/wp-content/</code> directory and then click "Import mt-export.txt"'); ?></p>
     39<p><?php _e('Howdy! We&#8217;re about to begin importing all of your Movable Type or TypePad entries into WordPress. To begin, either choose a file to upload and click &#8220;Upload file and import&#8221;, or use FTP to upload your MT export file as <code>mt-export.txt</code> in your <code>/wp-content/</code> directory and then click "Import mt-export.txt"'); ?></p>
    4040
    4141<?php wp_import_upload_form( add_query_arg('step', 1) ); ?>
    4242<form method="post" action="<?php echo esc_attr(add_query_arg('step', 1)); ?>" class="import-upload-form">
     
    510510
    511511$mt_import = new MT_Import();
    512512
    513 register_importer('mt', __('Movable Type and TypePad'), __('Import posts and comments from a Movable Type or Typepad blog.'), array ($mt_import, 'dispatch'));
     513register_importer('mt', __('Movable Type and TypePad'), __('Import posts and comments from a Movable Type or TypePad blog.'), array ($mt_import, 'dispatch'));
    514514?>