From 7017f77cfccf6c131090301e735306a8d5ddafec Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 11 Sep 2010 14:38:04 +0000 Subject: - Patch #240828 by sun, yoroy: fixed 'Validation error, please try again...' is terrible UI and confuses users. --- includes/form.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/form.inc b/includes/form.inc index 50e775199..e2909c64b 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -991,7 +991,7 @@ function drupal_validate_form($form_id, &$form, &$form_state) { if (isset($form['#token'])) { if (!drupal_valid_token($form_state['values']['form_token'], $form['#token'])) { // Setting this error will cause the form to fail validation. - form_set_error('form_token', t('Validation error, please try again. If this error persists, please contact the site administrator.')); + form_set_error('form_token', t('This form is outdated. Reload the page and try again. Contact the site administrator if the problem persists.')); } } -- cgit v1.2.3