From 12dd5b45c50b3837726d9ae81a51f950f843da77 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 20 Jul 2010 05:32:44 +0000 Subject: [PATCH] Wrapper getMtWord2() added --- inc/wrapper-functions.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 9dc7ea6398..036a89b004 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -1514,6 +1514,18 @@ function getMtWord () { return $GLOBALS['mt_word']; } +// "Getter" for mt_word2 +function getMtWord2 () { + // Do we have cache? + if (!isset($GLOBALS['mt_word2'])) { + // Determine it + $GLOBALS['mt_word2'] = getConfig('mt_word2'); + } // END - if + + // Return cache + return $GLOBALS['mt_word2']; +} + // "Getter" for main_title function getMainTitle () { // Do we have cache? -- 2.39.5