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
This commit is contained in:
parent
9012cd8a44
commit
80d1cba5f9
|
@ -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