Make WordPress Core

Ticket #14579: 14579_quick_edit_comment.diff

File 14579_quick_edit_comment.diff, 483 bytes (added by batmoo, 14 years ago)

Current screen not set for Comment Quick Edit

  • wp-admin/admin-ajax.php

     
    682682case 'edit-comment' :
    683683        check_ajax_referer( 'replyto-comment', '_ajax_nonce-replyto-comment' );
    684684
     685        set_current_screen( 'edit-comments' );
     686
    685687        $comment_post_ID = (int) $_POST['comment_post_ID'];
    686688        if ( ! current_user_can( 'edit_post', $comment_post_ID ) )
    687689                die('-1');