Changeset 3827
- Timestamp:
- 06/01/2006 04:59:55 PM (20 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
comment.php (modified) (2 diffs)
-
edit-form-comment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/comment.php
r3804 r3827 185 185 case 'editedcomment': 186 186 187 check_admin_referer('update-comment'); 187 $comment_id = (int) $_POST['comment_ID']; 188 189 check_admin_referer('update-comment_' . $comment_id); 188 190 189 191 edit_comment(); … … 193 195 header('Location: ' . $referredby); 194 196 } else { 195 header ("Location: edit.php?p=$comment_ post_ID&c=1#comments");197 header ("Location: edit.php?p=$comment_id&c=1#comments"); 196 198 } 197 199 -
trunk/wp-admin/edit-form-comment.php
r3759 r3827 7 7 8 8 <form name="post" action="comment.php" method="post" id="post"> 9 <?php wp_nonce_field('update-comment ' . $comment->comment_ID) ?>9 <?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?> 10 10 <div class="wrap"> 11 11 <input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" />
Note: See TracChangeset
for help on using the changeset viewer.