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:
parent
38debafe60
commit
7fa39e6839
@ -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.
|
* @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;
|
$custom = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user