Changeset 24643
- Timestamp:
- 07/10/2013 04:15:18 PM (13 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
includes/revision.php (modified) (1 diff)
-
revision.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/revision.php
r24615 r24643 92 92 'dateShort' => date_i18n( _x( 'j M @ G:i', 'revision date short format' ), $modified_gmt ), 93 93 'dateUnix' => $modified_gmt, 94 'timeAgo' => human_time_diff( $modified_gmt, $current),94 'timeAgo' => sprintf( __( '%s ago' ), human_time_diff( $modified_gmt, $current ) ), 95 95 'autosave' => wp_is_post_autosave( $revision ), 96 96 'current' => $revision->post_modified_gmt === $post->post_modified_gmt, -
trunk/wp-admin/revision.php
r24629 r24643 131 131 <# if ( 'undefined' !== typeof data && 'undefined' !== typeof data.author ) { #> 132 132 {{{ data.author.avatar }}} {{{ data.author.name }}}, 133 {{{ data.timeAgo }}} <?php _e( 'ago' ); ?>133 {{{ data.timeAgo }}} 134 134 ({{{ data.dateShort }}}) 135 135 <# } #> … … 160 160 <# if ( 'undefined' !== typeof data.from ) { #> 161 161 {{{ data.from.attributes.author.avatar }}} {{{ data.from.attributes.author.name }}}, 162 {{{ data.from.attributes.timeAgo }}} <?php _e( 'ago' ); ?>162 {{{ data.from.attributes.timeAgo }}} 163 163 ({{{ data.from.attributes.dateShort }}}) 164 164 <# } #> … … 172 172 <# if ( 'undefined' !== typeof data.to ) { #> 173 173 {{{ data.to.attributes.author.avatar }}} {{{ data.to.attributes.author.name }}}, 174 {{{ data.to.attributes.timeAgo }}} <?php _e( 'ago' ); ?>174 {{{ data.to.attributes.timeAgo }}} 175 175 ({{{ data.to.attributes.dateShort }}}) 176 176 <# } #>
Note: See TracChangeset
for help on using the changeset viewer.