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:
parent
30711d8c0c
commit
88dce7c55b
|
@ -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.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue