From 80d1cba5f96df3d05ed5ec7709922c016c3c0299 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: http://svn.automattic.com/wordpress/trunk@943 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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;