mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 05:38:07 +01:00
Pre-emptive link to support
git-svn-id: https://develop.svn.wordpress.org/trunk@2405 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cb11e9a992
commit
93e4071c2e
@ -457,7 +457,7 @@ function check_admin_referer() {
|
||||
$adminurl = strtolower(get_settings('siteurl')).'/wp-admin';
|
||||
$referer = strtolower($_SERVER['HTTP_REFERER']);
|
||||
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…
x
Reference in New Issue
Block a user