WordPress.org

Make WordPress Core

Ticket #6489: post-template.php.diff

File post-template.php.diff, 697 bytes (added by janbrasna, 9 years ago)
  • post-template.php

    old new  
    10151015
    10161016        $datef = _c( 'j F, Y @ G:i|revision date format');
    10171017        $autosavef = __( '%s [Autosave]' );
    10181018        $currentf  = __( '%s [Current Revision]' );
    10191019
    1020         $date = date_i18n( $datef, strtotime( $revision->post_modified_gmt . ' +0000' ) );
     1020        $date = date_i18n( $datef, strtotime( $revision->post_modified ) );
    10211021        if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) )
    10221022                $date = "<a href='$link'>$date</a>";
    10231023
    10241024        if ( !wp_is_post_revision( $revision ) )
    10251025                $date = sprintf( $currentf, $date );