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
This commit is contained in:
Sergey Biryukov 2014-06-26 14:28:04 +00:00
parent 38debafe60
commit 7fa39e6839
1 changed files with 1 additions and 1 deletions

View File

@ -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;