diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
index 4228d931ba..f65fa0294f 100644
--- a/src/wp-admin/includes/template.php
+++ b/src/wp-admin/includes/template.php
@@ -1986,7 +1986,7 @@ function the_post_password() {
  */
 function _draft_or_post_title( $post = 0 ) {
 	$title = get_the_title( $post );
-	if ( empty( $title ) ) {
+	if ( empty( $title ) && ! is_numeric( $title ) ) {
 		$title = __( '(no title)' );
 	}
 	return esc_html( $title );
