Changeset 11104 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 04/27/2009 11:09:08 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-comments.php (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r11073 r11104 183 183 <label class="hidden" for="comment-search-input"><?php _e( 'Search Comments' ); ?>:</label> 184 184 <input type="text" id="comment-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 185 <input type="submit" value="<?php _e ( 'Search Comments' ); ?>" class="button" />185 <input type="submit" value="<?php _ea( 'Search Comments' ); ?>" class="button" /> 186 186 </p> 187 187 … … 225 225 ?> 226 226 227 <input type="hidden" name="mode" value="<?php echo $mode; ?>" />227 <input type="hidden" name="mode" value="<?php echo attr($mode); ?>" /> 228 228 <?php if ( $post_id ) : ?> 229 <input type="hidden" name="p" value="<?php echo intval( $post_id); ?>" />230 <?php endif; ?> 231 <input type="hidden" name="comment_status" value="<?php echo $comment_status; ?>" />232 <input type="hidden" name="pagegen_timestamp" value="<?php echo current_time('mysql', 1); ?>" />229 <input type="hidden" name="p" value="<?php echo attr( intval( $post_id ) ); ?>" /> 230 <?php endif; ?> 231 <input type="hidden" name="comment_status" value="<?php echo attr($comment_status); ?>" /> 232 <input type="hidden" name="pagegen_timestamp" value="<?php echo attr(current_time('mysql', 1)); ?>" /> 233 233 234 234 <div class="tablenav"> … … 241 241 $page_links 242 242 ); echo $page_links_text; ?></div> 243 <input type="hidden" name="_total" value="<?php echo $total; ?>" />244 <input type="hidden" name="_per_page" value="<?php echo $comments_per_page; ?>" />245 <input type="hidden" name="_page" value="<?php echo $page; ?>" />243 <input type="hidden" name="_total" value="<?php echo attr($total); ?>" /> 244 <input type="hidden" name="_per_page" value="<?php echo attr($comments_per_page); ?>" /> 245 <input type="hidden" name="_page" value="<?php echo attr($page); ?>" /> 246 246 <?php endif; ?> 247 247 … … 260 260 <option value="delete"><?php _e('Delete'); ?></option> 261 261 </select> 262 <input type="submit" name="doaction" id="doaction" value="<?php _e ('Apply'); ?>" class="button-secondary apply" />262 <input type="submit" name="doaction" id="doaction" value="<?php _ea('Apply'); ?>" class="button-secondary apply" /> 263 263 <?php wp_nonce_field('bulk-comments'); ?> 264 264 … … 272 272 273 273 foreach ( $comment_types as $type => $label ) { 274 echo " <option value=' $type'";274 echo " <option value='" . attr($type) . "'"; 275 275 selected( $comment_type, $type ); 276 276 echo ">$label</option>\n"; … … 278 278 ?> 279 279 </select> 280 <input type="submit" id="post-query-submit" value="<?php _e ('Filter'); ?>" class="button-secondary" />280 <input type="submit" id="post-query-submit" value="<?php _ea('Filter'); ?>" class="button-secondary" /> 281 281 282 282 <?php if ( isset($_GET['apage']) ) { ?> 283 <input type="hidden" name="apage" value="<?php echo a bsint( $_GET['apage']); ?>" />283 <input type="hidden" name="apage" value="<?php echo attr( absint( $_GET['apage'] ) ); ?>" /> 284 284 <?php } 285 285 … … 287 287 wp_nonce_field('bulk-spam-delete', '_spam_nonce'); 288 288 if ( current_user_can ('moderate_comments')) { ?> 289 <input type="submit" name="delete_all_spam" value="<?php _e ('Delete All Spam'); ?>" class="button-secondary apply" />289 <input type="submit" name="delete_all_spam" value="<?php _ea('Delete All Spam'); ?>" class="button-secondary apply" /> 290 290 <?php } 291 291 } ?> … … 347 347 <option value="delete"><?php _e('Delete'); ?></option> 348 348 </select> 349 <input type="submit" name="doaction2" id="doaction2" value="<?php _e ('Apply'); ?>" class="button-secondary apply" />349 <input type="submit" name="doaction2" id="doaction2" value="<?php _ea('Apply'); ?>" class="button-secondary apply" /> 350 350 351 351 <?php if ( 'spam' == $comment_status ) { ?> 352 <input type="submit" name="delete_all_spam2" value="<?php _e ('Delete All Spam'); ?>" class="button-secondary apply" />352 <input type="submit" name="delete_all_spam2" value="<?php _ea('Delete All Spam'); ?>" class="button-secondary apply" /> 353 353 <?php } ?> 354 354 <?php do_action('manage_comments_nav', $comment_status); ?> … … 361 361 362 362 <form id="get-extra-comments" method="post" action="" class="add:the-extra-comment-list:" style="display: none;"> 363 <input type="hidden" name="s" value="<?php echo $search; ?>" />364 <input type="hidden" name="mode" value="<?php echo $mode; ?>" />365 <input type="hidden" name="comment_status" value="<?php echo $comment_status; ?>" />363 <input type="hidden" name="s" value="<?php echo attr($search); ?>" /> 364 <input type="hidden" name="mode" value="<?php echo attr($mode); ?>" /> 365 <input type="hidden" name="comment_status" value="<?php echo attr($comment_status); ?>" /> 366 366 <input type="hidden" name="page" value="<?php echo isset($_REQUEST['page']) ? absint( $_REQUEST['page'] ) : 1; ?>" /> 367 367 <input type="hidden" name="p" value="<?php echo attribute_escape( $post_id ); ?>" />
Note: See TracChangeset
for help on using the changeset viewer.