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:
Ryan Boren 2005-04-21 06:49:17 +00:00
parent 685705d9f4
commit eec22c6ac1
1 changed files with 1 additions and 1 deletions

View File

@ -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.'));
}
}