From 7351b448ae856baa83df08322d5a11070705f88e Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Mon, 27 Oct 2008 21:12:24 +0000 Subject: [PATCH] validation fixes for the WordPress importer. Fixes #7982 props sivel. git-svn-id: https://develop.svn.wordpress.org/trunk@9372 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/import/wordpress.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-admin/import/wordpress.php b/wp-admin/import/wordpress.php index 3b4b1fa3a2..4a2424bc5c 100644 --- a/wp-admin/import/wordpress.php +++ b/wp-admin/import/wordpress.php @@ -206,9 +206,9 @@ class WP_Import { $authors = $this->get_wp_authors(); - echo '
    '; echo '
    '; wp_nonce_field('import-wordpress'); + echo '
      '; $j = -1; foreach ($authors as $author) { ++ $j; @@ -229,7 +229,9 @@ class WP_Import { '.'
      '; + echo '

      '; + echo ''.'
      '; + echo '

      '; echo ''; } @@ -237,7 +239,7 @@ class WP_Import { function users_form($n, $author) { if ( $this->allow_create_users() ) { - printf('
      '); + printf('
      '); } else { echo __('Map to existing').'
      ';