pre_option_gmt_offset is never applied
|Reported by:||johnjosephbachir||Owned by:|
There is function added to the call stack for pre_option_gmt_offset, but the filter is never applied.
in default-filters.php, line 210 (the very end of the file:
<? add_filter('pre_option_gmt_offset','wp_timezone_override_offset'); ?>
But pre_option_gmt_offset is never applied (a full-project search for that string only finds the above occurrence).
It's also the same situation with update_option_start_of_week and update_option_gmt_offset in general-template.php, line 1166
<? add_action( 'update_option_start_of_week', 'delete_get_calendar_cache' ); add_action( 'update_option_gmt_offset', 'delete_get_calendar_cache' ); ?>
(line 1168 is actually identical to 1166 -- see #10718)
It seems like there must have been a code refactoring regarding the time settings, and these hooks either got renamed or removed?