Make WordPress Core

Changeset 11127


Ignore:
Timestamp:
04/29/2009 08:14:39 PM (15 years ago)
Author:
ryan
Message:

No need to attribute_escape a cleaned url. fixes #8587

File:
1 edited

Legend:

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

    r11120 r11127  
    131131<input type="hidden" name="c" value="<?php echo attr($comment->comment_ID) ?>" />
    132132<input type="hidden" name="p" value="<?php echo attr($comment->comment_post_ID) ?>" />
    133 <input name="referredby" type="hidden" id="referredby" value="<?php echo attr(clean_url(stripslashes(wp_get_referer()))); ?>" />
     133<input name="referredby" type="hidden" id="referredby" value="<?php echo clean_url(stripslashes(wp_get_referer())); ?>" />
    134134<?php wp_original_referer_field(true, 'previous'); ?>
    135135<input type="hidden" name="noredir" value="1" />
Note: See TracChangeset for help on using the changeset viewer.