Make WordPress Core


Ignore:
Timestamp:
06/26/2014 02:28:04 PM (12 years ago)
Author:
SergeyBiryukov
Message:

Replace Y/m/d date format in general settings with a more popular one, Y-m-d.

props gauravmittal1995.
fixes #28447.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-general.php

    r28820 r28848  
    237237        * @param array $default_date_formats Array of default date formats.
    238238        */
    239         $date_formats = array_unique( apply_filters( 'date_formats', array( __( 'F j, Y' ), 'Y/m/d', 'm/d/Y', 'd/m/Y', 'Y-m-d' ) ) );
     239        $date_formats = array_unique( apply_filters( 'date_formats', array( __( 'F j, Y' ), 'Y-m-d', 'm/d/Y', 'd/m/Y' ) ) );
    240240
    241241        $custom = true;
Note: See TracChangeset for help on using the changeset viewer.