Skip to content

Commit 61addd9

Browse files
committed
phpcs
1 parent 7a90fc6 commit 61addd9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

classes/suggested-tasks/providers/class-select-timezone.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ public function print_popover_instructions() {
114114
* @return void
115115
*/
116116
public function print_popover_form_contents() {
117-
$current_offset = \get_option( 'gmt_offset' );
118-
$tzstring = \get_option( 'timezone_string' );
117+
$current_offset = \get_option( 'gmt_offset' );
118+
$tzstring = \get_option( 'timezone_string' );
119119
$was_tzstring_saved = '' !== $tzstring || '0' !== $current_offset ? 'true' : 'false';
120120

121121
// Remove old Etc mappings. Fallback to gmt_offset.
@@ -188,7 +188,7 @@ public function handle_interactive_task_specific_submit() {
188188
// Map UTC+- timezones to gmt_offsets and set timezone_string to empty.
189189
if ( preg_match( '/^UTC[+-]/', $timezone_string ) ) {
190190
// Set the gmt_offset to the value of the timezone_string, strip the UTC prefix.
191-
$gmt_offset = preg_replace( '/UTC\+?/', '', $timezone_string );
191+
$gmt_offset = preg_replace( '/UTC\+?/', '', $timezone_string );
192192

193193
// Reset the timezone_string to empty.
194194
$timezone_string = '';

0 commit comments

Comments
 (0)