I18N: Remove unnecessary context in `wp_post_revision_title_expanded()`.
Props ramiy. Fixes #37781. Built from https://develop.svn.wordpress.org/trunk@38327 git-svn-id: http://core.svn.wordpress.org/trunk@38268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
64dac53d70
commit
35e3d7e37f
|
@ -1684,16 +1684,16 @@ function wp_post_revision_title_expanded( $revision, $link = true ) {
|
||||||
|
|
||||||
$revision_date_author = sprintf(
|
$revision_date_author = sprintf(
|
||||||
/* translators: post revision title: 1: author avatar, 2: author name, 3: time ago, 4: date */
|
/* translators: post revision title: 1: author avatar, 2: author name, 3: time ago, 4: date */
|
||||||
_x( '%1$s %2$s, %3$s ago (%4$s)', 'post revision title' ),
|
__( '%1$s %2$s, %3$s ago (%4$s)' ),
|
||||||
$gravatar,
|
$gravatar,
|
||||||
$author,
|
$author,
|
||||||
human_time_diff( strtotime( $revision->post_modified ), current_time( 'timestamp' ) ),
|
human_time_diff( strtotime( $revision->post_modified ), current_time( 'timestamp' ) ),
|
||||||
$date
|
$date
|
||||||
);
|
);
|
||||||
|
|
||||||
/* translators: %s: revision date with author's Gravatar */
|
/* translators: %s: revision date with author avatar */
|
||||||
$autosavef = __( '%s [Autosave]' );
|
$autosavef = __( '%s [Autosave]' );
|
||||||
/* translators: %s: revision date with author's Gravatar */
|
/* translators: %s: revision date with author avatar */
|
||||||
$currentf = __( '%s [Current Revision]' );
|
$currentf = __( '%s [Current Revision]' );
|
||||||
|
|
||||||
if ( !wp_is_post_revision( $revision ) )
|
if ( !wp_is_post_revision( $revision ) )
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.7-alpha-38326';
|
$wp_version = '4.7-alpha-38327';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue