From 33a5ecd2ce1063436951c8d5752b53134b793f27 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 7 Jan 2021 18:16:42 +0300 Subject: feed editor: show purge interval correctly if FORCE_ARTICLE_PURGE is set --- include/functions.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index f1cce0bbf..41d6e5853 100644 --- a/include/functions.php +++ b/include/functions.php @@ -401,6 +401,11 @@ return vsprintf(__(array_shift($args)), $args); } + function T_nsprintf() { + $args = func_get_args(); + return vsprintf(_ngettext(array_shift($args), array_shift($args), array_shift($args)), $args); + } + function is_server_https() { return (!empty($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] != 'off')) || $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'; } -- cgit v1.2.3-54-g00ecf