]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/classic/comments-popup.php
Wordpress 2.0.11
[autoinstalls/wordpress.git] / wp-content / themes / classic / comments-popup.php
index 0969e730c36404635d548b6c8cd4e152aef1b78e..ef49d42d0b08de84d0fcb300597a659d75646c6e 100644 (file)
@@ -60,7 +60,7 @@ if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH
          <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
           <label for="author"><?php _e("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>