diff --git a/includes/form.inc b/includes/form.inc index 10e68ee..37e90e3 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -1082,8 +1082,9 @@ function drupal_validate_form($form_id, &$form, &$form_state) { // matches the current user's session. if (isset($form['#token'])) { if (!drupal_valid_token($form_state['values']['form_token'], $form['#token'])) { + $item = menu_get_item(); // Setting this error will cause the form to fail validation. - form_set_error('form_token', t('This form is outdated. Reload the page and try again. Contact the site administrator if the problem persists.')); + form_set_error('form_token', t('Your submission cannot be saved because the form is no longer current. Copy any unsaved work in the form below and then reload the form.', array('@link' => url($item['href'])))); } }