diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-05-21 18:37:58 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-05-21 18:37:58 +0000 |
| commit | 89fe0ff804e7c6497ebacc8b341ac89974f6f255 (patch) | |
| tree | 3fce310b29c685008fdbb75c5ab531bc3a6ae12a /wp-admin/import/mt.php | |
| parent | a139071806ba941346a109fbefb2d5f22bae1cc4 (diff) | |
| download | wordpress-mu-89fe0ff804e7c6497ebacc8b341ac89974f6f255.tar.gz wordpress-mu-89fe0ff804e7c6497ebacc8b341ac89974f6f255.tar.xz wordpress-mu-89fe0ff804e7c6497ebacc8b341ac89974f6f255.zip | |
WP Merge to rev 5499, this is a big one! Test it before you put it live!
Test only, not for production use yet
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@972 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/import/mt.php')
| -rw-r--r-- | wp-admin/import/mt.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wp-admin/import/mt.php b/wp-admin/import/mt.php index 1effb5c..cd60654 100644 --- a/wp-admin/import/mt.php +++ b/wp-admin/import/mt.php @@ -130,6 +130,7 @@ class MT_Import { $authors = $this->get_mt_authors(); echo '<ol id="authors">'; echo '<form action="?import=mt&step=2&id=' . $this->id . '" method="post">'; + wp_nonce_field('import-mt'); $j = -1; foreach ($authors as $author) { ++ $j; @@ -400,9 +401,11 @@ class MT_Import { $this->greet(); break; case 1 : + check_admin_referer('import-upload'); $this->select_authors(); break; case 2: + check_admin_referer('import-mt'); $this->import(); break; } |
