WordPress.org

Make WordPress Core

Ticket #15810: reuben-15810.diff

File reuben-15810.diff, 562 bytes (added by greuben, 7 years ago)

adding back what was removed while fixing #15580

  • wp-admin/includes/class-wp-comments-list-table.php

     
    2121        var $pending_count = array();
    2222
    2323        function WP_Comments_List_Table() {
    24                 global $post_id;
     24                global $post_id, $mode;
     25               
     26                $mode = ( empty( $_REQUEST['mode'] ) ) ? 'detail' : $_REQUEST['mode'];
    2527
    2628                $post_id = isset( $_REQUEST['p'] ) ? absint( $_REQUEST['p'] ) : 0;
    2729