Fix league table caption markup

This commit is contained in:
Brian Miyaji
2014-05-11 19:11:51 +10:00
parent d14abdd0c4
commit de1f1dfb4a

View File

@@ -24,9 +24,9 @@ $defaults = array(
extract( $defaults, EXTR_SKIP );
$output = '<div class="sp-table-wrapper sp-scrollable-table-wrapper">';
$output = '<h4 class="sp-table-caption">' . get_the_title( $id ) . '</h4>';
$output .= '<h4 class="sp-table-caption">' . get_the_title( $id ) . '</h4>';
$output .= '<div class="sp-table-wrapper sp-scrollable-table-wrapper">';
$output .= '<table class="sp-league-table sp-data-table' . ( $responsive ? ' sp-responsive-table' : '' ) . ( $sortable ? ' sp-sortable-table' : '' ) . ( $paginated ? ' sp-paginated-table' : '' ) . '" data-sp-rows="' . $rows . '">' . '<thead>' . '<tr>';