From 7fa39e68396c739e58dbb7c0605bb1db404550d2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 26 Jun 2014 14:28:04 +0000 Subject: [PATCH] Replace Y/m/d date format in general settings with a more popular one, Y-m-d. props gauravmittal1995. fixes #28447. git-svn-id: https://develop.svn.wordpress.org/trunk@28848 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/options-general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/options-general.php b/src/wp-admin/options-general.php index 541980d0c1..89af99c704 100644 --- a/src/wp-admin/options-general.php +++ b/src/wp-admin/options-general.php @@ -236,7 +236,7 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists * * @param array $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', 'Y-m-d' ) ) ); + $date_formats = array_unique( apply_filters( 'date_formats', array( __( 'F j, Y' ), 'Y-m-d', 'm/d/Y', 'd/m/Y' ) ) ); $custom = true;