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:
michelvaldrighi 2004-02-26 16:14:10 +00:00
parent 9012cd8a44
commit 80d1cba5f9
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;