Skip to content

Commit 669bacd

Browse files
Revisions: Add year to timestamp in revisions comparison interface.
This aims to make it easier to distinguish between revisions from different years. Follow-up to [23769], [23898], [24520]. Props kgagne, iamadisingh, abcd95, SergeyBiryukov. Fixes #63816. Built from https://develop.svn.wordpress.org/trunk@60642 git-svn-id: http://core.svn.wordpress.org/trunk@59978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 1cd6823 commit 669bacd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wp-admin/includes/revision.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null
249249
'title' => get_the_title( $post->ID ),
250250
'author' => $authors[ $revision->post_author ],
251251
'date' => date_i18n( __( 'M j, Y @ H:i' ), $modified ),
252-
'dateShort' => date_i18n( _x( 'j M @ H:i', 'revision date short format' ), $modified ),
252+
'dateShort' => date_i18n( _x( 'j M Y @ H:i', 'revision date short format' ), $modified ),
253253
/* translators: %s: Human-readable time difference. */
254254
'timeAgo' => sprintf( __( '%s ago' ), human_time_diff( $modified_gmt, $now_gmt ) ),
255255
'autosave' => $autosave,

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '6.9-alpha-60641';
19+
$wp_version = '6.9-alpha-60642';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)