Show league table caption by default

This commit is contained in:
Brian Miyaji
2014-05-10 22:45:41 +10:00
parent 9a5cc58072
commit a1462b46a3
3 changed files with 2 additions and 8 deletions

View File

@@ -19,9 +19,6 @@ class SP_Shortcode_League_Table {
if ( ! isset( $atts['id'] ) && isset( $atts[0] ) && is_numeric( $atts[0] ) )
$atts['id'] = $atts[0];
if ( ! isset( $atts['show_caption'] ) )
$atts['show_caption'] = true;
sp_get_template( 'league-table.php', $atts );
}
}