Make WordPress Core


Ignore:
Timestamp:
08/18/2010 04:30:27 PM (14 years ago)
Author:
scribu
Message:

introduce WP_List_Table::comments_bubble(); revert to edit-comments.php?p=123. See #14579

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r15496 r15504  
    226226    $link = add_query_arg( 'comment_status', $status, $link );
    227227    if ( $post_id )
    228         $link = add_query_arg( 'post_ID', absint( $post_id ), $link );
     228        $link = add_query_arg( 'p', absint( $post_id ), $link );
    229229    /*
    230230    // I toyed with this, but decided against it. Leaving it in here in case anyone thinks it is a good idea. ~ Mark
     
    253253<input type="hidden" name="mode" value="<?php echo esc_attr($mode); ?>" />
    254254<?php if ( $post_id ) : ?>
    255 <input type="hidden" name="post_ID" value="<?php echo esc_attr( intval( $post_id ) ); ?>" />
     255<input type="hidden" name="p" value="<?php echo esc_attr( intval( $post_id ) ); ?>" />
    256256<?php endif; ?>
    257257<input type="hidden" name="comment_status" value="<?php echo esc_attr($comment_status); ?>" />
     
    281281    <input type="hidden" name="page" value="<?php echo esc_attr($page); ?>" />
    282282    <input type="hidden" name="per_page" value="<?php echo esc_attr($comments_per_page); ?>" />
    283     <input type="hidden" name="post_ID" value="<?php echo esc_attr( $post_id ); ?>" />
     283    <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 ); ?>" />
    285285    <?php wp_nonce_field( 'add-comment', '_ajax_nonce', false ); ?>
Note: See TracChangeset for help on using the changeset viewer.