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
This commit is contained in:
michelvaldrighi 2004-02-26 16:14:10 +00:00
parent 80abd287e5
commit 047441f893
1 changed files with 3 additions and 0 deletions

View File

@ -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;