Skip to content

Commit 047441f

Browse files
author
michelvaldrighi
committed
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
1 parent 80abd28 commit 047441f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

wp-includes/functions.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ function get_settings($setting) {
280280
return false;
281281
}
282282

283+
// until we switch to using 'gmt_offset' everywhere
284+
$setting = str_replace('time_difference', 'gmt_offset', $setting);
285+
283286
if ((empty($cache_settings)) OR (!$use_cache)) {
284287
$settings = get_alloptions();
285288
$cache_settings = $settings;

0 commit comments

Comments
 (0)