WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44985, comment 6


Ignore:
Timestamp:
03/08/2019 12:25:26 PM (2 years ago)
Author:
nielsdeblaauw
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44985, comment 6

    initial v1  
    1313                return $string_offset;
    1414        }
    15         remove_filter( 'pre_option_gmt_offset', 'wp_timezone_override_offset' );
     15        remove_filter( 'pre_option_gmt_offset', 'wp_timezone_override_offset' ); // Remove filter to prevent infinite loop.
    1616        if ( ! $gmt_offset = get_option( 'gmt_offset' ) ) {
    1717                return $string_offset;