Plugin Updates

This commit is contained in:
Tony Volpe
2024-04-02 20:23:21 +00:00
parent 96800520e8
commit 94170ec2c4
1514 changed files with 133309 additions and 105985 deletions

View File

@@ -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>';
}