Changeset 15504 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 08/18/2010 04:30:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r15496 r15504 226 226 $link = add_query_arg( 'comment_status', $status, $link ); 227 227 if ( $post_id ) 228 $link = add_query_arg( 'p ost_ID', absint( $post_id ), $link );228 $link = add_query_arg( 'p', absint( $post_id ), $link ); 229 229 /* 230 230 // I toyed with this, but decided against it. Leaving it in here in case anyone thinks it is a good idea. ~ Mark … … 253 253 <input type="hidden" name="mode" value="<?php echo esc_attr($mode); ?>" /> 254 254 <?php if ( $post_id ) : ?> 255 <input type="hidden" name="p ost_ID" value="<?php echo esc_attr( intval( $post_id ) ); ?>" />255 <input type="hidden" name="p" value="<?php echo esc_attr( intval( $post_id ) ); ?>" /> 256 256 <?php endif; ?> 257 257 <input type="hidden" name="comment_status" value="<?php echo esc_attr($comment_status); ?>" /> … … 281 281 <input type="hidden" name="page" value="<?php echo esc_attr($page); ?>" /> 282 282 <input type="hidden" name="per_page" value="<?php echo esc_attr($comments_per_page); ?>" /> 283 <input type="hidden" name="p ost_ID" value="<?php echo esc_attr( $post_id ); ?>" />283 <input type="hidden" name="p" value="<?php echo esc_attr( $post_id ); ?>" /> 284 284 <input type="hidden" name="comment_type" value="<?php echo esc_attr( $comment_type ); ?>" /> 285 285 <?php wp_nonce_field( 'add-comment', '_ajax_nonce', false ); ?>
Note: See TracChangeset
for help on using the changeset viewer.