Changeset 23743 for trunk/wp-includes/post-template.php
- Timestamp:
- 03/18/2013 05:58:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r23730 r23743 1318 1318 1319 1319 $revision_date_author = sprintf( 1320 '%s %s, %s %s (%s)', 1320 /* translators: post revision title: 1: author avatar, 2: author name, 3: time ago, 4: date */ 1321 _x( '%1$s %2$s, %3$s ago (%4$s)', 'post revision title' ), 1321 1322 $gravatar, 1322 1323 $author, 1323 1324 human_time_diff( strtotime( $revision->post_modified ), current_time( 'timestamp' ) ), 1324 __( 'ago' ),1325 1325 $date 1326 1326 ); … … 1485 1485 $datef = _x( 'j F, Y @ G:i:s', 'revision date format'); 1486 1486 $date = date_i18n( $datef, strtotime( $restored_from_meta[ 'restored_time' ] ) ); 1487 $timesince = human_time_diff( $restored_from_meta[ 'restored_time' ], current_time( 'timestamp' ) ) . __( ' ago ' );1487 $timesince = human_time_diff( $restored_from_meta[ 'restored_time' ], current_time( 'timestamp' ) ); 1488 1488 ?> 1489 1489 <hr /> 1490 1490 <div id="revisions-meta-restored"> 1491 1491 <?php 1492 printf( 'Previously restored from Revision ID %d, %s by %s (%s)', 1492 /* translators: restored revision details: 1: revision ID, 2: time ago, 3: author name, 4: date */ 1493 printf( _x( 'Previously restored from revision ID %1$d, %2$s ago by %3$s (%4$s)', 'restored revision details' ), 1493 1494 $restored_from_meta[ 'restored_revision_id'], 1494 1495 $timesince,
Note: See TracChangeset
for help on using the changeset viewer.