Make WordPress Core


Ignore:
Timestamp:
12/21/2006 10:10:04 AM (19 years ago)
Author:
markjaquith
Message:

new function for escaping within attributes: attribute_escape()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-content/themes/classic/comments-popup.php

    r3903 r4656  
    6161       <label for="author"><?php _e("Name"); ?></label>
    6262    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    63     <input type="hidden" name="redirect_to" value="<?php echo wp_specialchars($_SERVER["REQUEST_URI"]); ?>" />
     63    <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
    6464    </p>
    6565
Note: See TracChangeset for help on using the changeset viewer.