WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/07/2015 04:25:53 AM (4 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/admin.php

    r34828 r35811  
    9090set_screen_options();
    9191
    92 $date_format = get_option('date_format');
    93 $time_format = get_option('time_format');
     92$date_format = __( 'F j, Y' );
     93$time_format = __( 'g:i a' );
    9494
    9595wp_enqueue_script( 'common' );
Note: See TracChangeset for help on using the changeset viewer.