Changeset 3805 for branches/2.0/wp-admin/link-categories.php
- Timestamp:
- 05/26/2006 11:31:24 PM (20 years ago)
- File:
-
- 1 edited
-
branches/2.0/wp-admin/link-categories.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-admin/link-categories.php
r3771 r3805 84 84 { 85 85 $cat_id = (int) $_GET['cat_id']; 86 check_admin_referer('delete-link-category ' . $cat_id);86 check_admin_referer('delete-link-category_' . $cat_id); 87 87 88 88 $cat_name=get_linkcatname($cat_id); … … 117 117 118 118 <form name="editcat" method="post"> 119 <?php wp_nonce_field('update-link-category ' . $row->cat_id) ?>119 <?php wp_nonce_field('update-link-category_' . $row->cat_id) ?> 120 120 <input type="hidden" name="action" value="editedcat" /> 121 121 <input type="hidden" name="cat_id" value="<?php echo $row->cat_id ?>" /> … … 206 206 { 207 207 $cat_id = (int)$_POST["cat_id"]; 208 check_admin_referer('update-link-category ' . $cat_id);208 check_admin_referer('update-link-category_' . $cat_id); 209 209 210 210 if ( !current_user_can('manage_links') ) … … 357 357 <td><?php echo $row->list_limit ?></td> 358 358 <td><a href="link-categories.php?cat_id=<?php echo $row->cat_id?>&action=Edit" class="edit"><?php _e('Edit') ?></a></td> 359 <td><a href="<?php echo wp_nonce_url("link-categories.php?cat_id=$row->cat_id?>&action=Delete", 'delete-link-category ' . $row->cat_id) ?>" "onclick="return deleteSomething( 'link category', <?php echo $row->cat_id . ", '" . sprintf(__("You are about to delete the "%s" link category.\\n"Cancel" to stop, "OK" to delete."), wp_specialchars($row->cat_name,1)); ?>' );" class="delete"><?php _e('Delete') ?></a></td>359 <td><a href="<?php echo wp_nonce_url("link-categories.php?cat_id=$row->cat_id?>&action=Delete", 'delete-link-category_' . $row->cat_id) ?>" "onclick="return deleteSomething( 'link category', <?php echo $row->cat_id . ", '" . sprintf(__("You are about to delete the "%s" link category.\\n"Cancel" to stop, "OK" to delete."), wp_specialchars($row->cat_name,1)); ?>' );" class="delete"><?php _e('Delete') ?></a></td> 360 360 </tr> 361 361 <?php
Note: See TracChangeset
for help on using the changeset viewer.