diff options
Diffstat (limited to 'wp-admin/edit-form-advanced.php')
-rw-r--r-- | wp-admin/edit-form-advanced.php | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index dc36236..16b699c 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -649,11 +649,20 @@ if ( post_type_supports( $post_type, 'editor' ) ) { echo '<span id="last-edit">'; $last_user = get_userdata( get_post_meta( $post->ID, '_edit_last', true ) ); if ( $last_user ) { - /* translators: 1: Name of most recent post author, 2: Post edited date, 3: Post edited time. */ - printf( __( 'Last edited by %1$s on %2$s at %3$s' ), esc_html( $last_user->display_name ), mysql2date( __( 'F j, Y' ), $post->post_modified ), mysql2date( __( 'g:i a' ), $post->post_modified ) ); + printf( + /* translators: 1: Name of most recent post author, 2: Post edited date, 3: Post edited time. */ + __( 'Last edited by %1$s on %2$s at %3$s' ), + esc_html( $last_user->display_name ), + mysql2date( __( 'F j, Y' ), $post->post_modified ), + mysql2date( __( 'g:i a' ), $post->post_modified ) + ); } else { - /* translators: 1: Post edited date, 2: Post edited time. */ - printf( __( 'Last edited on %1$s at %2$s' ), mysql2date( __( 'F j, Y' ), $post->post_modified ), mysql2date( __( 'g:i a' ), $post->post_modified ) ); + printf( + /* translators: 1: Post edited date, 2: Post edited time. */ + __( 'Last edited on %1$s at %2$s' ), + mysql2date( __( 'F j, Y' ), $post->post_modified ), + mysql2date( __( 'g:i a' ), $post->post_modified ) + ); } echo '</span>'; } |