Make WordPress Core


Ignore:
Timestamp:
07/10/2013 04:15:18 PM (12 years ago)
Author:
nacin
Message:

Proper translation of '<time> ago' in revisions. props johnbillion, fixes #24721.

File:
1 edited

Legend:

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

    r24615 r24643  
    9292            'dateShort'    => date_i18n( _x( 'j M @ G:i', 'revision date short format' ), $modified_gmt ),
    9393            'dateUnix'     => $modified_gmt,
    94             'timeAgo'      => human_time_diff( $modified_gmt, $current ),
     94            'timeAgo'      => sprintf( __( '%s ago' ), human_time_diff( $modified_gmt, $current ) ),
    9595            'autosave'     => wp_is_post_autosave( $revision ),
    9696            'current'      => $revision->post_modified_gmt === $post->post_modified_gmt,
Note: See TracChangeset for help on using the changeset viewer.