From b392c3a35ff33ee16deb35774c94125aa29c7dcf Mon Sep 17 00:00:00 2001 From: westi Date: Mon, 27 Oct 2008 21:12:24 +0000 Subject: [PATCH] validation fixes for the WordPress importer. Fixes #7982 props sivel. git-svn-id: http://svn.automattic.com/wordpress/trunk@9372 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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').'
      ';