Fix strings in revisions UI. see #24804, [24761].
git-svn-id: http://core.svn.wordpress.org/trunk@24763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c2a543566c
commit
9f58cc923c
|
@ -135,7 +135,9 @@ require_once( './admin-header.php' );
|
|||
<# if ( 'undefined' !== typeof data && 'undefined' !== typeof data.author ) { #>
|
||||
{{{ data.author.avatar }}}
|
||||
<div class="author-info">
|
||||
<span class="byline">Edit by <span class="author-name">{{ data.author.name }}</span></span>
|
||||
|
||||
<span class="byline"><?php printf( __( 'Revision by %s' ),
|
||||
'<span class="author-name">{{ data.author.name }}</span>' ); ?></span>
|
||||
<span class="time-ago">{{ data.timeAgo }}</span>
|
||||
<span class="date">({{ data.dateShort }})</span>
|
||||
</div>
|
||||
|
@ -168,7 +170,7 @@ require_once( './admin-header.php' );
|
|||
{{{ data.from.attributes.author.avatar }}}
|
||||
<div class="author-info">
|
||||
<span class="byline"><?php printf( __( 'Revision by %s' ),
|
||||
'<span class="author-name">{{ data.to.attributes.author.name }}</span>' ); ?></span>
|
||||
'<span class="author-name">{{ data.from.attributes.author.name }}</span>' ); ?></span>
|
||||
<span class="time-ago">{{ data.from.attributes.timeAgo }}</span>
|
||||
<span class="date">({{ data.from.attributes.dateShort }})</span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue