Make WordPress Core


Ignore:
Timestamp:
12/07/2008 07:31:27 AM (16 years ago)
Author:
markjaquith
Message:

Make AJAX comment river post_id and comment_type aware

File:
1 edited

Legend:

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

    r10102 r10104  
    351351    <input type="hidden" name="comment_status" value="<?php echo $comment_status; ?>" />
    352352    <input type="hidden" name="page" value="<?php echo isset($_REQUEST['page']) ? absint( $_REQUEST['page'] ) : 1; ?>" />
     353    <input type="hidden" name="p" value="<?php echo attribute_escape( $post_id ); ?>" />
     354    <input type="hidden" name="comment_type" value="<?php echo attribute_escape( $comment_type ); ?>" />
    353355    <?php wp_nonce_field( 'add-comment', '_ajax_nonce', false ); ?>
    354356</form>
Note: See TracChangeset for help on using the changeset viewer.