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:
@@ -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' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user