gettext check_admin_referer() error message.
git-svn-id: https://develop.svn.wordpress.org/trunk@2569 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
685705d9f4
commit
eec22c6ac1
@ -469,7 +469,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 <a href="http://codex.wordpress.org/Enable_Sending_Referrers">enable sending referrers</a> 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
Block a user