Ticket #54301: 54301.diff
File 54301.diff, 487 bytes (added by , 3 years ago) |
---|
-
src/wp-admin/includes/template.php
diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 4228d931ba..f65fa0294f 100644
a b function the_post_password() { 1986 1986 */ 1987 1987 function _draft_or_post_title( $post = 0 ) { 1988 1988 $title = get_the_title( $post ); 1989 if ( empty( $title ) ) {1989 if ( empty( $title ) && ! is_numeric( $title ) ) { 1990 1990 $title = __( '(no title)' ); 1991 1991 } 1992 1992 return esc_html( $title );