WordPress.org

Make WordPress Core

Ticket #25473: 25473.wp-text-diff.patch

File 25473.wp-text-diff.patch, 758 bytes (added by joedolson, 6 years ago)

Patch to wp_text_diff

  • wp-includes/pluggable.php

     
    17661766        if ( $args['title'] || $args['title_left'] || $args['title_right'] )
    17671767                $r .= "<thead>";
    17681768        if ( $args['title'] )
    1769                 $r .= "<tr class='diff-title'><th colspan='4'>$args[title]</th></tr>\n";
     1769                $r .= "<tr class='diff-title'><th colspan='3'>$args[title]</th></tr>\n";
    17701770        if ( $args['title_left'] || $args['title_right'] ) {
    17711771                $r .= "<tr class='diff-sub-title'>\n";
    1772                 $r .= "\t<td></td><th>$args[title_left]</th>\n";
     1772                $r .= "\t<th>$args[title_left]</th>\n";
    17731773                $r .= "\t<td></td><th>$args[title_right]</th>\n";
    17741774                $r .= "</tr>\n";
    17751775        }