Make WordPress Core


Ignore:
Timestamp:
04/27/2009 11:09:08 PM (16 years ago)
Author:
ryan
Message:

Some attr escaping. see #9650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/comment.php

    r10731 r11104  
    9191<table width="100%">
    9292<tr>
    93 <td><input type='button' class="button" value='<?php _e('No'); ?>' onclick="self.location='<?php echo admin_url('edit-comments.php'); ?>" /></td>
    94 <td class="textright"><input type='submit' class="button" value='<?php echo $button; ?>' /></td>
     93<td><input type='button' class="button" value='<?php _ea('No'); ?>' onclick="self.location='<?php echo admin_url('edit-comments.php'); ?>" /></td>
     94<td class="textright"><input type='submit' class="button" value='<?php echo attr($button); ?>' /></td>
    9595</tr>
    9696</table>
    9797
    9898<?php wp_nonce_field( $nonce_action ); ?>
    99 <input type='hidden' name='action' value='<?php echo $formaction; ?>' />
     99<input type='hidden' name='action' value='<?php echo attr($formaction); ?>' />
    100100<?php if ( 'spam' == $_GET['dt'] ) { ?>
    101101<input type='hidden' name='dt' value='spam' />
    102102<?php } ?>
    103 <input type='hidden' name='p' value='<?php echo $comment->comment_post_ID; ?>' />
    104 <input type='hidden' name='c' value='<?php echo $comment->comment_ID; ?>' />
     103<input type='hidden' name='p' value='<?php echo attr($comment->comment_post_ID); ?>' />
     104<input type='hidden' name='c' value='<?php echo attr($comment->comment_ID); ?>' />
    105105<input type='hidden' name='noredir' value='1' />
    106106</form>
Note: See TracChangeset for help on using the changeset viewer.