WordPress.org

Make WordPress Core

Ticket #25473: markup-table.diff

File markup-table.diff, 711 bytes (added by mehulkaklotar, 4 years ago)

th with colspan 2

  • src/wp-includes/pluggable.php

     
    23632363                $r .= "<tr class='diff-title'><th colspan='4'>$args[title]</th></tr>\n";
    23642364        if ( $args['title_left'] || $args['title_right'] ) {
    23652365                $r .= "<tr class='diff-sub-title'>\n";
    2366                 $r .= "\t<td></td><th>$args[title_left]</th>\n";
    2367                 $r .= "\t<td></td><th>$args[title_right]</th>\n";
     2366                $r .= "\t<th colspan='2'>$args[title_left]</th>\n";
     2367                $r .= "\t<th colspan='2'>$args[title_right]</th>\n";
    23682368                $r .= "</tr>\n";
    23692369        }
    23702370        if ( $args['title'] || $args['title_left'] || $args['title_right'] )