Use wp_get_referer(). fixes #2800

git-svn-id: https://develop.svn.wordpress.org/trunk@3918 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-06-24 07:34:35 +00:00
parent 1e87ff8522
commit 11a6312a36
7 changed files with 21 additions and 20 deletions

View File

@@ -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>