diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:57:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:57:26 +0000 |
commit | 30883c26bdceb9eaf32c8d4a1b0c1bce223b5226 (patch) | |
tree | 39a02e2aeb21ab5b7923c6f5757d66d55b708912 /wp-admin/edit-form-advanced.php | |
parent | Adding upstream version 6.4.3+dfsg1. (diff) | |
download | wordpress-30883c26bdceb9eaf32c8d4a1b0c1bce223b5226.tar.xz wordpress-30883c26bdceb9eaf32c8d4a1b0c1bce223b5226.zip |
Adding upstream version 6.5+dfsg1.upstream/6.5+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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>'; } |