Ticket #14579: 14579_quick_edit_comment.diff
File 14579_quick_edit_comment.diff, 483 bytes (added by , 14 years ago) |
---|
-
wp-admin/admin-ajax.php
682 682 case 'edit-comment' : 683 683 check_ajax_referer( 'replyto-comment', '_ajax_nonce-replyto-comment' ); 684 684 685 set_current_screen( 'edit-comments' ); 686 685 687 $comment_post_ID = (int) $_POST['comment_post_ID']; 686 688 if ( ! current_user_can( 'edit_post', $comment_post_ID ) ) 687 689 die('-1');