diff --git a/src/wp-includes/customize/class-wp-customize-date-time-control.php b/src/wp-includes/customize/class-wp-customize-date-time-control.php index c163ba1408..fdaa6837dc 100644 --- a/src/wp-includes/customize/class-wp-customize-date-time-control.php +++ b/src/wp-includes/customize/class-wp-customize-date-time-control.php @@ -100,14 +100,13 @@ class WP_Customize_Date_Time_Control extends WP_Customize_Control { $timezone_info = $this->get_timezone_info(); $date_format = get_option( 'date_format' ); - foreach ( array( 'Y', 'y', 'o' ) as $year_token ) { - $date_format = preg_replace( '/(?