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:
parent
80abd287e5
commit
047441f893
|
@ -280,6 +280,9 @@ function get_settings($setting) {
|
||||||
return false;
|
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)) {
|
if ((empty($cache_settings)) OR (!$use_cache)) {
|
||||||
$settings = get_alloptions();
|
$settings = get_alloptions();
|
||||||
$cache_settings = $settings;
|
$cache_settings = $settings;
|
||||||
|
|
Loading…
Reference in New Issue