Make WordPress Core

Changeset 24529


Ignore:
Timestamp:
06/29/2013 05:45:02 PM (11 years ago)
Author:
ocean90
Message:

Revisions UI: Fix table colgroup (Say what?) for post titles when they haven't been changed. see #24425.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/revision.php

    r24520 r24529  
    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>';
Note: See TracChangeset for help on using the changeset viewer.