Changeset 5941 for trunk/wp-admin/import/wp-cat2tag.php
- Timestamp:
- 08/25/2007 05:07:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/wp-cat2tag.php
r5700 r5941 39 39 function categories_form() { 40 40 print '<form action="admin.php?import=wp-cat2tag&step=2" method="post">'; 41 wp_nonce_field('import-cat2tag'); 41 42 print '<ul style="list-style:none">'; 42 43 … … 145 146 146 147 print '<form action="admin.php?import=wp-cat2tag" method="post">'; 148 wp_nonce_field('import-cat2tag'); 147 149 print '<p style="text-align:center" class="submit"><input type="submit" value="' . __('Yes') . '" name="yes_convert_all_cats" /> <input type="submit" value="' . __('No') . '" name="no_dont_do_it" /></p>'; 148 150 print '</form>'; … … 159 161 160 162 function init() { 161 echo '<!--'; print_r($_POST); print_r($_GET); echo '-->';162 163 163 164 if (isset($_POST['maybe_convert_all_cats'])) { … … 178 179 print '</div>'; 179 180 } else { 181 if ( $step > 1 ) 182 check_admin_referer('import-cat2tag'); 183 180 184 switch ($step) { 181 185 case 1 :
Note: See TracChangeset
for help on using the changeset viewer.