Make WordPress Core


Ignore:
Timestamp:
08/18/2010 10:26:22 PM (15 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/edit-comments.php

    r15504 r15508  
    258258<input type="hidden" name="pagegen_timestamp" value="<?php echo esc_attr(current_time('mysql', 1)); ?>" />
    259259
    260 <input type="hidden" name="_total" value="<?php echo esc_attr($total); ?>" />
    261 <input type="hidden" name="_per_page" value="<?php echo esc_attr($comments_per_page); ?>" />
    262 <input type="hidden" name="_page" value="<?php echo esc_attr($page); ?>" />
     260<input type="hidden" name="_total" value="<?php echo esc_attr( $table->get_pagination_arg('total_items') ); ?>" />
     261<input type="hidden" name="_per_page" value="<?php echo esc_attr( $table->get_pagination_arg('per_page') ); ?>" />
     262<input type="hidden" name="_page" value="<?php echo esc_attr( $table->get_pagination_arg('page') ); ?>" />
    263263
    264264<?php if ( isset($_REQUEST['paged']) ) { ?>
     
    279279    <input type="hidden" name="mode" value="<?php echo esc_attr($mode); ?>" />
    280280    <input type="hidden" name="comment_status" value="<?php echo esc_attr($comment_status); ?>" />
    281     <input type="hidden" name="page" value="<?php echo esc_attr($page); ?>" />
    282     <input type="hidden" name="per_page" value="<?php echo esc_attr($comments_per_page); ?>" />
     281    <input type="hidden" name="page" value="<?php echo esc_attr( $table->get_pagination_arg('page') ); ?>" />
     282    <input type="hidden" name="per_page" value="1" />
    283283    <input type="hidden" name="p" value="<?php echo esc_attr( $post_id ); ?>" />
    284284    <input type="hidden" name="comment_type" value="<?php echo esc_attr( $comment_type ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.