diff -urp svn/wp-admin/admin-ajax.php dev/wp-admin/admin-ajax.php
|
svn
|
dev
|
case 'autosave' : // The name of this ac |
| 720 | 720 | $do_lock = true; |
| 721 | 721 | |
| 722 | 722 | $data = ''; |
| 723 | | $message = sprintf( __('Draft Saved at %s.'), date( __('g:i:s a'), current_time( 'timestamp', true ) ) ); |
| | 723 | $message = sprintf( __('Draft Saved at %s.'), date_i18n( __('g:i:s a') ) ); |
| 724 | 724 | |
| 725 | 725 | $supplemental = array(); |
| 726 | 726 | |
diff -urp svn/wp-includes/post-template.php dev/wp-includes/post-template.php
|
svn
|
dev
|
function wp_post_revision_title( $revisi |
| 1048 | 1048 | $autosavef = __( '%s [Autosave]' ); |
| 1049 | 1049 | $currentf = __( '%s [Current Revision]' ); |
| 1050 | 1050 | |
| 1051 | | $date = date_i18n( $datef, strtotime( $revision->post_modified_gmt . ' +0000' ) ); |
| | 1051 | $date = date_i18n( $datef, strtotime( $revision->post_modified ) ); |
| 1052 | 1052 | if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) ) |
| 1053 | 1053 | $date = "<a href='$link'>$date</a>"; |
| 1054 | 1054 | |