From 901122689f154a29478d5890cb676c19021004ba Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 26 Jun 2014 14:29:17 +0000 Subject: [PATCH] Replace Y/m/d date format in general settings with a more popular one, Y-m-d. props gauravmittal1995. fixes #28447. Built from https://develop.svn.wordpress.org/trunk@28848 git-svn-id: http://core.svn.wordpress.org/trunk@28652 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/options-general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 541980d0c1..89af99c704 100644 --- a/wp-admin/options-general.php +++ b/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;