Revisions UI: Add translation contexts and remove unneeded lines.
props nao. fixes #23917. git-svn-id: http://core.svn.wordpress.org/trunk@24157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1312,9 +1312,9 @@ function wp_post_revision_title( $revision, $link = true ) {
|
||||
/* translators: revision date format, see http://php.net/date */
|
||||
$datef = _x( 'j F, Y @ G:i', 'revision date format');
|
||||
/* translators: 1: date */
|
||||
$autosavef = __( '%1$s [Autosave]' );
|
||||
$autosavef = _x( '%1$s [Autosave]', 'post revision title extra' );
|
||||
/* translators: 1: date */
|
||||
$currentf = __( '%1$s [Current Revision]' );
|
||||
$currentf = _x( '%1$s [Current Revision]', 'post revision title extra' );
|
||||
|
||||
$date = date_i18n( $datef, strtotime( $revision->post_modified ) );
|
||||
if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) )
|
||||
|
||||
Reference in New Issue
Block a user