diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php
index 107224bf53..f0093e3cb9 100644
--- a/src/wp-admin/includes/dashboard.php
+++ b/src/wp-admin/includes/dashboard.php
@@ -619,20 +619,12 @@ function wp_dashboard_recent_posts( $args ) {
if ( current_user_can( 'edit_post', get_the_ID() ) ) {
/* translators: 1: relative date, 2: time, 3: post edit link, 4: post title */
$format = __( '%1$s, %2$s %4$s' );
+ printf( "
$format", $relative, get_the_time(), get_edit_post_link(), _draft_or_post_title() );
} else {
- /* translators: 1: relative date, 2: time, 4: post title */
- $format = __( '%1$s, %2$s %4$s' );
+ /* translators: 1: relative date, 2: time, 3: post title */
+ $format = __( '%1$s, %2$s %3$s' );
+ printf( "$format", $relative, get_the_time(), _draft_or_post_title() );
}
-
- $text = sprintf(
- $format,
- $relative,
- get_the_time(),
- get_edit_post_link(),
- _draft_or_post_title()
- );
-
- echo "$text";
}
echo '';