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
This commit is contained in:
parent
b9fd9db83b
commit
901122689f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue