Fix: Timezone dropdown selection not shown in General Settings and Setup Wizard

This commit is contained in:
Savvas Hadjigeorgiou
2021-11-18 14:10:26 +02:00
parent ca584aa2bc
commit 2c45d17718
2 changed files with 2 additions and 2 deletions

View File

@@ -248,7 +248,7 @@ class SP_Admin_Setup_Wizard {
$tzstring = 'UTC+' . $current_offset;
}
}
echo esc_attr( wp_timezone_choice( $tzstring ) );
echo wp_kses( wp_timezone_choice( $tzstring ), array( 'option' => array( 'value' => array(), 'selected' => array() ) ) );
?>
</select>
</td>