summaryrefslogtreecommitdiffstats
path: root/wp-admin/edit-form-comment.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/edit-form-comment.php')
-rw-r--r--wp-admin/edit-form-comment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php
index 1f23cef..46d9447 100644
--- a/wp-admin/edit-form-comment.php
+++ b/wp-admin/edit-form-comment.php
@@ -42,7 +42,7 @@ addLoadEvent(focusit);
</fieldset>
<p class="submit"><input type="submit" name="editcomment" id="editcomment" value="<?php echo $submitbutton_text ?>" style="font-weight: bold;" tabindex="6" />
- <input name="referredby" type="hidden" id="referredby" value="<?php echo $_SERVER['HTTP_REFERER']; ?>" />
+ <input name="referredby" type="hidden" id="referredby" value="<?php echo wp_get_referer(); ?>" />
</p>
</div>