diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 5d4abae030..45d371cf6b 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -476,11 +476,12 @@ if ( empty( $tzstring ) ) { // Create a UTC+- zone if no timezone string exists. * Filters the default date formats. * * @since 2.7.0 - * @since 4.0.0 Added ISO date standard YYYY-MM-DD format. + * @since 4.0.0 Replaced the `Y/m/d` format with `Y-m-d` (ISO date standard YYYY-MM-DD). + * @since 6.8.0 Added the `d.m.Y` format. * * @param string[] $default_date_formats Array of default date formats. */ - $date_formats = array_unique( apply_filters( 'date_formats', array( __( 'F j, Y' ), 'Y-m-d', 'm/d/Y', 'd/m/Y' ) ) ); + $date_formats = array_unique( apply_filters( 'date_formats', array( __( 'F j, Y' ), 'Y-m-d', 'm/d/Y', 'd/m/Y', 'd.m.Y' ) ) ); $custom = true; diff --git a/wp-includes/version.php b/wp-includes/version.php index 46105c3ab1..1e960be532 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59474'; +$wp_version = '6.8-alpha-59475'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.