Don't show minutes in box score by default

This commit is contained in:
Brian Miyaji
2017-01-08 18:25:11 +11:00
parent b61d2e1cc8
commit 9451293b94
4 changed files with 4 additions and 4 deletions

View File

@@ -217,7 +217,7 @@ class SP_Event extends SP_Custom_Post{
endif;
// Add minutes to box score values
if ( in_array( 'number', $formats ) && 'yes' == get_option( 'sportspress_event_performance_show_minutes', 'yes' ) ):
if ( in_array( 'number', $formats ) && 'yes' == get_option( 'sportspress_event_performance_show_minutes', 'no' ) ):
$timeline = $this->timeline();
if ( ! empty( $timeline ) ):
foreach ( $performance as $team => $players ):