Changeset 11109 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 04/28/2009 05:58:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r11104 r11109 84 84 require_once('admin-header.php'); 85 85 86 $mode = ( ! isset($_GET['mode']) || empty($_GET['mode']) ) ? 'detail' : attr ibute_escape($_GET['mode']);86 $mode = ( ! isset($_GET['mode']) || empty($_GET['mode']) ) ? 'detail' : attr($_GET['mode']); 87 87 88 88 $default_status = get_user_option('edit_comments_last_view'); … … 95 95 update_usermeta($current_user->ID, 'edit_comments_last_view', $comment_status); 96 96 97 $comment_type = !empty($_GET['comment_type']) ? attr ibute_escape($_GET['comment_type']) : '';97 $comment_type = !empty($_GET['comment_type']) ? attr($_GET['comment_type']) : ''; 98 98 99 99 $search_dirty = ( isset($_GET['s']) ) ? $_GET['s'] : ''; 100 $search = attr ibute_escape( $search_dirty ); ?>100 $search = attr( $search_dirty ); ?> 101 101 102 102 <div class="wrap"> … … 165 165 // I toyed with this, but decided against it. Leaving it in here in case anyone thinks it is a good idea. ~ Mark 166 166 if ( !empty( $_GET['s'] ) ) 167 $link = add_query_arg( 's', attr ibute_escape( stripslashes( $_GET['s'] ) ), $link );167 $link = add_query_arg( 's', attr( stripslashes( $_GET['s'] ) ), $link ); 168 168 */ 169 169 $status_links[] = "<li class='$status'><a href='$link'$class>" . sprintf( … … 365 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 <input type="hidden" name="p" value="<?php echo attr ibute_escape( $post_id ); ?>" />368 <input type="hidden" name="comment_type" value="<?php echo attr ibute_escape( $comment_type ); ?>" />367 <input type="hidden" name="p" value="<?php echo attr( $post_id ); ?>" /> 368 <input type="hidden" name="comment_type" value="<?php echo attr( $comment_type ); ?>" /> 369 369 <?php wp_nonce_field( 'add-comment', '_ajax_nonce', false ); ?> 370 370 </form>
Note: See TracChangeset
for help on using the changeset viewer.