mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-06 13:29:35 +00:00
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;
|
||||
}
|
||||
|
||||
// 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user