From 68d2f95eb9e5b86e781d642909364369bf9cda02 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 5 May 2007 12:03:42 +0100 Subject: [PATCH] add format_error, print_error --- functions.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/functions.php b/functions.php index bfed27be..059ca524 100644 --- a/functions.php +++ b/functions.php @@ -3309,6 +3309,11 @@ $msg"; } + function format_error($msg) { + return "
+ $msg
"; + } + function print_notice($msg) { return print format_notice($msg); } @@ -3317,6 +3322,11 @@ return print format_warning($msg); } + function print_error($msg) { + return print format_error($msg); + } + + function T_sprintf() { $args = func_get_args(); return vsprintf(__(array_shift($args)), $args); -- 2.39.5