WordPress.org

Make WordPress Core

Ticket #37778: 37778.patch

File 37778.patch, 1.3 KB (added by ramiy, 4 years ago)
  • wp-includes/post-template.php

     
    16391639
    16401640        /* translators: revision date format, see https://secure.php.net/date */
    16411641        $datef = _x( 'F j, Y @ H:i:s', 'revision date format' );
    1642         /* translators: 1: date */
    1643         $autosavef = _x( '%1$s [Autosave]', 'post revision title extra' );
    1644         /* translators: 1: date */
    1645         $currentf  = _x( '%1$s [Current Revision]', 'post revision title extra' );
     1642        /* translators: %s: date */
     1643        $autosavef = __( '%s [Autosave]' );
     1644        /* translators: %s: date */
     1645        $currentf  = __( '%s [Current Revision]' );
    16461646
    16471647        $date = date_i18n( $datef, strtotime( $revision->post_modified ) );
    16481648        if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) )
     
    16911691                $date
    16921692        );
    16931693
    1694         $autosavef = __( '%1$s [Autosave]' );
    1695         $currentf  = __( '%1$s [Current Revision]' );
     1694        /* translators: %s: date with user gravatar */
     1695        $autosavef = __( '%s [Autosave]' );
     1696        /* translators: %s: date with user gravatar */
     1697        $currentf  = __( '%s [Current Revision]' );
    16961698
    16971699        if ( !wp_is_post_revision( $revision ) )
    16981700                $revision_date_author = sprintf( $currentf, $revision_date_author );