From 1b758780aa92e07e10dfa02fe1f3980e7f85ee68 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 30 Mar 2006 07:57:29 +0100 Subject: only append time() to scripts when using dev. version --- functions.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index a9081e59e..be95caa04 100644 --- a/functions.php +++ b/functions.php @@ -1482,4 +1482,12 @@ } } + function get_script_dt_add() { + if (strpos(VERSION, "99") === false) { + return VERSION; + } else { + return time(); + } + } + ?> -- cgit v1.2.3-54-g00ecf