Make WordPress Core

Ticket #24425: 24425.title-table-cols.patch

File 24425.title-table-cols.patch, 1.0 KB (added by ocean90, 11 years ago)
  • wp-admin/includes/revision.php

     
    3838                if ( ! $diff && 'post_title' === $field ) {
    3939                        // It's a better user experience to still show the Title, even if it didn't change.
    4040                        // 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>';
    4242                        $diff .= '<td>' . esc_html( $compare_from->post_title ) . '</td><td></td><td>' . esc_html( $compare_to->post_title ) . '</td>';
    4343                        $diff .= '</tr></tbody>';
    4444                        $diff .= '</table>';
     
    9797                'revisionData'     => array_values( $revisions ),
    9898                'selectedRevision' => $selected_revision_id,
    9999        );
    100 }
    101  No newline at end of file
     100}