summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-09-09 08:25:24 +0000
committerDries Buytaert <dries@buytaert.net>2006-09-09 08:25:24 +0000
commit35c33e3cf5b61fbf226116cb881f5e38c3a5103b (patch)
treeeed91820a19836bac352e2325fae6c4a218b160f /includes
parentafd01f2a61604138d0ddb22e7645a591161c6632 (diff)
downloadbrdo-35c33e3cf5b61fbf226116cb881f5e38c3a5103b.tar.gz
brdo-35c33e3cf5b61fbf226116cb881f5e38c3a5103b.tar.bz2
- Patch #83222 by edkwh: more theme('placeholder') clean-up. Good catch.
Diffstat (limited to 'includes')
-rw-r--r--includes/form.inc2
-rw-r--r--includes/locale.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/form.inc b/includes/form.inc
index 1a7863e55..71e244204 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -497,7 +497,7 @@ function _form_validate($elements, $form_id = NULL) {
}
elseif (!isset($options[$elements['#value']])) {
form_error($elements, t('An illegal choice has been detected. Please contact the site administrator.'));
- watchdog('form', t('Illegal choice %choice in %name element.', array('%choice' => theme_placeholder(check_plain($elements['#value'])), '%name' => theme('placeholder', empty($elements['#title']) ? $elements['#parents'][0] : $elements['#title']))), WATCHDOG_ERROR);
+ watchdog('form', t('Illegal choice %choice in %name element.', array('%choice' => $elements['#value'], '%name' => empty($elements['#title']) ? $elements['#parents'][0] : $elements['#title'])), WATCHDOG_ERROR);
}
}
}
diff --git a/includes/locale.inc b/includes/locale.inc
index eb3f19be1..1a82bb755 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -867,7 +867,7 @@ function _locale_import_parse_plural_forms($pluralforms, $filename) {
return array($nplurals, $plural);
}
else {
- drupal_set_message(t('The translation file %filename contains an error: the plural formula could not be parsed.', array('%filename' => theme('placeholder', $filename))), 'error');
+ drupal_set_message(t('The translation file %filename contains an error: the plural formula could not be parsed.', array('%filename' => $filename)), 'error');
return FALSE;
}
}