diff --git a/wp-admin/includes/revision.php b/wp-admin/includes/revision.php index 8510924112..6f1c986cc3 100644 --- a/wp-admin/includes/revision.php +++ b/wp-admin/includes/revision.php @@ -38,7 +38,7 @@ function wp_get_revision_ui_diff( $post, $compare_from, $compare_to ) { if ( ! $diff && 'post_title' === $field ) { // It's a better user experience to still show the Title, even if it didn't change. // No, you didn't see this. - $diff = ""; + $diff = '
'; $diff .= ''; $diff .= ''; $diff .= '
' . esc_html( $compare_from->post_title ) . '' . esc_html( $compare_to->post_title ) . '
'; @@ -97,4 +97,4 @@ function wp_prepare_revisions_for_js( $post, $selected_revision_id ) { 'revisionData' => array_values( $revisions ), 'selectedRevision' => $selected_revision_id, ); -} \ No newline at end of file +}