diff --git a/wp-admin/import/utw.php b/wp-admin/import/utw.php index bc1ab5fca7..52e347ad12 100644 --- a/wp-admin/import/utw.php +++ b/wp-admin/import/utw.php @@ -31,6 +31,9 @@ class UTW_Import { } else { $step = (int) $_GET['step']; } + + if ( $step > 1 ) + check_admin_referer('import-utw'); // load the header $this->header(); @@ -102,6 +105,7 @@ class UTW_Import { } echo '
'; echo ''; @@ -137,6 +141,7 @@ class UTW_Import { } echo ''; echo ''; @@ -155,6 +160,7 @@ class UTW_Import { echo '' . sprintf( __('Done! %s tags where added!'), $tags_added ) . '
' . __('Cheatin’ uh?') . '
'; print ''; } else { + if ( $step > 1 ) + check_admin_referer('import-cat2tag'); + switch ($step) { case 1 : $this->welcome();