Make WordPress Core

Changeset 9372


Ignore:
Timestamp:
10/27/2008 09:12:24 PM (18 years ago)
Author:
westi
Message:

validation fixes for the WordPress importer. Fixes #7982 props sivel.

File:
1 edited

Legend:

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

    r9361 r9372  
    207207
    208208                $authors = $this->get_wp_authors();
    209                 echo '<ol id="authors">';
    210209                echo '<form action="?import=wordpress&amp;step=2&amp;id=' . $this->id . '" method="post">';
    211210                wp_nonce_field('import-wordpress');
     211                echo '<ol id="authors">';
    212212                $j = -1;
    213213                foreach ($authors as $author) {
    … …  
    230230                }
    231231
    232                 echo '<input type="submit" value="'.attribute_escape( __('Submit') ).'">'.'<br />';
     232                echo '<p class="submit">';
     233                echo '<input type="submit" class="button" value="'.attribute_escape( __('Submit') ).'" />'.'<br />';
     234                echo '</p>';
    233235                echo '</form>';
    234236
    … …  
    238240
    239241                if ( $this->allow_create_users() ) {
    240                         printf('<label>'.__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user_create['.intval($n).']'.'" maxlength="30"></label> <br />');
     242                        printf('<label>'.__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user_create['.intval($n).']'.'" maxlength="30" /></label> <br />');
    241243                }
    242244                else {
Note: See TracChangeset for help on using the changeset viewer.