Make date format consistent across the admin

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

See #30864


Built from https://develop.svn.wordpress.org/trunk@35811


git-svn-id: http://core.svn.wordpress.org/trunk@35775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ella Iseulde Van Dorpe
2015-12-07 04:26:27 +00:00
parent 07339e61c0
commit 657d3b50af
11 changed files with 18 additions and 18 deletions

View File

@@ -89,8 +89,8 @@ if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() )
set_screen_options();
$date_format = get_option('date_format');
$time_format = get_option('time_format');
$date_format = __( 'F j, Y' );
$time_format = __( 'g:i a' );
wp_enqueue_script( 'common' );