Make WordPress Core


Ignore:
Timestamp:
12/07/2015 04:25:53 AM (9 years ago)
Author:
iseulde
Message:

Make date format consistent across the admin

The 'date_format' and 'time_format' options shouldn't affect the backend.

See #30864

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r35755 r35811  
    29802980        'subtype'     => $subtype,
    29812981        'icon'        => wp_mime_type_icon( $attachment->ID ),
    2982         'dateFormatted' => mysql2date( get_option('date_format'), $attachment->post_date ),
     2982        'dateFormatted' => mysql2date( __( 'F j, Y' ), $attachment->post_date ),
    29832983        'nonces'      => array(
    29842984            'update' => false,
Note: See TracChangeset for help on using the changeset viewer.