Ticket #7982: import-wordpress.diff
| File import-wordpress.diff, 1.3 KB (added by , 17 years ago) |
|---|
-
wp-admin/import/wordpress.php
206 206 207 207 208 208 $authors = $this->get_wp_authors(); 209 echo '<ol id="authors">';210 209 echo '<form action="?import=wordpress&step=2&id=' . $this->id . '" method="post">'; 211 210 wp_nonce_field('import-wordpress'); 211 echo '<ol id="authors">'; 212 212 $j = -1; 213 213 foreach ($authors as $author) { 214 214 ++ $j; … … 229 229 <?php 230 230 } 231 231 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>'; 233 235 echo '</form>'; 234 236 235 237 } … … 237 239 function users_form($n, $author) { 238 240 239 241 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 />'); 241 243 } 242 244 else { 243 245 echo __('Map to existing').'<br />';