No need to attribute_escape a cleaned url. fixes #8587
git-svn-id: https://develop.svn.wordpress.org/trunk@11127 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
494d54de30
commit
bd58cf3efc
@ -130,7 +130,7 @@ $date = date_i18n( $datef, strtotime( $comment->comment_date ) );
|
||||
|
||||
<input type="hidden" name="c" value="<?php echo attr($comment->comment_ID) ?>" />
|
||||
<input type="hidden" name="p" value="<?php echo attr($comment->comment_post_ID) ?>" />
|
||||
<input name="referredby" type="hidden" id="referredby" value="<?php echo attr(clean_url(stripslashes(wp_get_referer()))); ?>" />
|
||||
<input name="referredby" type="hidden" id="referredby" value="<?php echo clean_url(stripslashes(wp_get_referer())); ?>" />
|
||||
<?php wp_original_referer_field(true, 'previous'); ?>
|
||||
<input type="hidden" name="noredir" value="1" />
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user