From d266845b260b9b048ce451603af2cbb4bcb53742 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Fri, 4 Jan 2013 09:37:59 -0800 Subject: Issue #1873608 by David_Rothstein: Clarify documentation on when to use t vs format_string --- includes/bootstrap.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 036bfc9ce..06752b13a 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -1492,8 +1492,9 @@ function t($string, array $args = array(), array $options = array()) { * page (especially text that may have come from untrusted users, since in that * case it prevents cross-site scripting and other security problems). * - * In most cases, you should use t() rather than this function, since it will - * translate the text (on non-English-only sites) in addition to formatting it. + * In most cases, you should use t() rather than calling this function + * directly, since it will translate the text (on non-English-only sites) in + * addition to formatting it. * * @param $string * A string containing placeholders. -- cgit v1.2.3