WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r5092 r5405  
    148148        echo '<ol id="authors">';
    149149        echo '<form action="?import=mt&amp;step=2&amp;id=' . $this->id . '" method="post">';
     150        wp_nonce_field('import-mt');
    150151        $j = -1;
    151152        foreach ($authors as $author) {
     
    418419                break;
    419420            case 1 :
     421                check_admin_referer('import-upload');
    420422                $this->select_authors();
    421423                break;
    422424            case 2:
     425                check_admin_referer('import-mt');
    423426                $this->import();
    424427                break;
Note: See TracChangeset for help on using the changeset viewer.