Changeset 3829 for trunk/wp-admin/comment.php
- Timestamp:
- 06/01/2006 09:48:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/comment.php
r3827 r3829 185 185 case 'editedcomment': 186 186 187 $comment_id = (int) $_POST['comment_ID']; 188 189 check_admin_referer('update-comment_' . $comment_id); 187 $comment_ID = (int) $_POST['comment_ID']; 188 $comment_post_ID = (int) $_POST['comment_post_id']; 189 190 check_admin_referer('update-comment_' . $comment_ID); 190 191 191 192 edit_comment(); … … 195 196 header('Location: ' . $referredby); 196 197 } else { 197 header ("Location: edit.php?p=$comment_ id&c=1#comments");198 header ("Location: edit.php?p=$comment_post_ID&c=1#comments"); 198 199 } 199 200
Note: See TracChangeset
for help on using the changeset viewer.