WordPress.org

Make WordPress Core

Changeset 2569


Ignore:
Timestamp:
04/21/2005 06:49:17 AM (15 years ago)
Author:
ryan
Message:

gettext check_admin_referer() error message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r2544 r2569  
    470470  $referer = strtolower($_SERVER['HTTP_REFERER']);
    471471  if ( !strstr($referer, $adminurl) ) {
    472     die('Sorry, you need to <a href="http://codex.wordpress.org/Enable_Sending_Referrers">enable sending referrers</a> for this feature to work.');
     472    die(__('Sorry, you need to <a href="http://codex.wordpress.org/Enable_Sending_Referrers">enable sending referrers</a> for this feature to work.'));
    473473  }
    474474}
Note: See TracChangeset for help on using the changeset viewer.