From 047441f893f7fb296957772bc99cef514f17db82 Mon Sep 17 00:00:00 2001 From: michelvaldrighi Date: Thu, 26 Feb 2004 16:14:10 +0000 Subject: [PATCH] aliasing time_difference to gmt_offset in get_settings(), for great justice git-svn-id: https://develop.svn.wordpress.org/trunk@943 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index f02a888818..7e21a3208a 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -280,6 +280,9 @@ function get_settings($setting) { return false; } + // until we switch to using 'gmt_offset' everywhere + $setting = str_replace('time_difference', 'gmt_offset', $setting); + if ((empty($cache_settings)) OR (!$use_cache)) { $settings = get_alloptions(); $cache_settings = $settings;