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-admin/includes/media.php

    r35677 r35811  
    14561456            <p><strong>" . __('File name:') . "</strong> $filename</p>
    14571457            <p><strong>" . __('File type:') . "</strong> $post->post_mime_type</p>
    1458             <p><strong>" . __('Upload date:') . "</strong> " . mysql2date( get_option('date_format'), $post->post_date ). '</p>';
     1458            <p><strong>" . __('Upload date:') . "</strong> " . mysql2date( __( 'F j, Y' ), $post->post_date ). '</p>';
    14591459            if ( !empty( $media_dims ) )
    14601460                $item .= "<p><strong>" . __('Dimensions:') . "</strong> $media_dims</p>\n";
Note: See TracChangeset for help on using the changeset viewer.