Pre-emptive link to support

git-svn-id: http://svn.automattic.com/wordpress/trunk@2405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-03-04 19:34:21 +00:00
parent 30711d8c0c
commit 88dce7c55b
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ function check_admin_referer() {
$adminurl = strtolower(get_settings('siteurl')).'/wp-admin'; $adminurl = strtolower(get_settings('siteurl')).'/wp-admin';
$referer = strtolower($_SERVER['HTTP_REFERER']); $referer = strtolower($_SERVER['HTTP_REFERER']);
if ( !strstr($referer, $adminurl) ) { if ( !strstr($referer, $adminurl) ) {
die('Sorry, you need to enable sending referrers, for this feature to work.'); die('Sorry, you need to <a href="http://codex.wordpress.org/Enable_Sending_Referrers">enable sending referrers</a> for this feature to work.');
} }
} }