]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/default/comments-popup.php
Wordpress 2.0.11
[autoinstalls/wordpress.git] / wp-content / themes / default / comments-popup.php
index 3cd58a66285ff58e5460e578c062329b4a212318..063a39182d348293d434aef72f867389b25ec0a9 100644 (file)
@@ -60,7 +60,7 @@ if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $pos
          <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
           <label for="author">Name</label>
        <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
          <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
           <label for="author">Name</label>
        <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
-       <input type="hidden" name="redirect_to" value="<?php echo wp_specialchars($_SERVER["REQUEST_URI"]); ?>" />
+       <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
        </p>
 
        <p>
        </p>
 
        <p>