Ticket #24425: 24425.title-table-cols.patch
File 24425.title-table-cols.patch, 1.0 KB (added by , 11 years ago) |
---|
-
wp-admin/includes/revision.php
38 38 if ( ! $diff && 'post_title' === $field ) { 39 39 // It's a better user experience to still show the Title, even if it didn't change. 40 40 // No, you didn't see this. 41 $diff = "<table class='diff'><col class='ltype' /><col class='content' /><col class='ltype' /><col class='content' /><tbody><tr>";41 $diff = '<table class="diff"><colgroup><col class="content diffsplit left"><col class="content diffsplit middle"><col class="content diffsplit right"></colgroup><tbody><tr>'; 42 42 $diff .= '<td>' . esc_html( $compare_from->post_title ) . '</td><td></td><td>' . esc_html( $compare_to->post_title ) . '</td>'; 43 43 $diff .= '</tr></tbody>'; 44 44 $diff .= '</table>'; … … 97 97 'revisionData' => array_values( $revisions ), 98 98 'selectedRevision' => $selected_revision_id, 99 99 ); 100 } 101 No newline at end of file 100 }