Make WordPress Core


Ignore:
Timestamp:
08/18/2010 10:26:22 PM (14 years ago)
Author:
scribu
Message:

Fix the Trash quickling in edit-comments.php. See #14637

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/default-list-tables.php

    r15504 r15508  
    19421942
    19431943    function prepare_items() {
    1944         global $post_id, $comment_status, $mode;
     1944        global $post_id, $comment_status, $mode, $search;
    19451945
    19461946        $post_id = isset( $_REQUEST['p'] ) ? absint( $_REQUEST['p'] ) : 0;
     
    19561956        $search = ( isset( $_REQUEST['s'] ) ) ? $_REQUEST['s'] : '';
    19571957
    1958         if ( isset( $_POST['num'] ) )
    1959             $comments_per_page = $_POST['num'];
     1958        if ( isset( $_POST['per_page'] ) )
     1959            $comments_per_page = $_POST['per_page'];
    19601960        else
    19611961            $comments_per_page = (int) get_user_option( 'edit_comments_per_page' );
Note: See TracChangeset for help on using the changeset viewer.