Ticket #2764: 2764-trunk.diff
| File 2764-trunk.diff, 764 bytes (added by mdawaffe, 6 years ago) |
|---|
-
wp-admin/comment.php
184 184 185 185 case 'editedcomment': 186 186 187 $comment_id = (int) $_POST['comment_ID']; 187 $comment_ID = (int) $_POST['comment_ID']; 188 $comment_post_ID = (int) $_POST['comment_post_id']; 188 189 189 check_admin_referer('update-comment_' . $comment_ id);190 check_admin_referer('update-comment_' . $comment_ID); 190 191 191 192 edit_comment(); 192 193 … … 194 195 if (!empty($referredby)) { 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 200 201 break;
