Ticket #6489: post-template.php.diff
File post-template.php.diff, 697 bytes (added by , 16 years ago) |
---|
-
post-template.php
old new 1015 1015 1016 1016 $datef = _c( 'j F, Y @ G:i|revision date format'); 1017 1017 $autosavef = __( '%s [Autosave]' ); 1018 1018 $currentf = __( '%s [Current Revision]' ); 1019 1019 1020 $date = date_i18n( $datef, strtotime( $revision->post_modified _gmt . ' +0000') );1020 $date = date_i18n( $datef, strtotime( $revision->post_modified ) ); 1021 1021 if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) ) 1022 1022 $date = "<a href='$link'>$date</a>"; 1023 1023 1024 1024 if ( !wp_is_post_revision( $revision ) ) 1025 1025 $date = sprintf( $currentf, $date );