Make WordPress Core


Ignore:
Timestamp:
07/22/2013 05:32:14 AM (11 years ago)
Author:
nacin
Message:

Fix strings in revisions UI. see #24804, [24761].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/revision.php

    r24761 r24763  
    136136        {{{ data.author.avatar }}}
    137137        <div class="author-info">
    138             <span class="byline">Edit by <span class="author-name">{{ data.author.name }}</span></span>
     138               
     139            <span class="byline"><?php printf( __( 'Revision by %s' ),
     140                '<span class="author-name">{{ data.author.name }}</span>' ); ?></span>
    139141            <span class="time-ago">{{ data.timeAgo }}</span>
    140142            <span class="date">({{ data.dateShort }})</span>
     
    169171                <div class="author-info">
    170172                    <span class="byline"><?php printf( __( 'Revision by %s' ),
    171                         '<span class="author-name">{{ data.to.attributes.author.name }}</span>' ); ?></span>
     173                        '<span class="author-name">{{ data.from.attributes.author.name }}</span>' ); ?></span>
    172174                    <span class="time-ago">{{ data.from.attributes.timeAgo }}</span>
    173175                    <span class="date">({{ data.from.attributes.dateShort }})</span>
Note: See TracChangeset for help on using the changeset viewer.