Add separate career totals option and group statistic settings

This commit is contained in:
Brian Miyaji
2017-01-15 10:25:57 +11:00
parent 151ad04fca
commit efa1895da7
4 changed files with 57 additions and 24 deletions

View File

@@ -429,6 +429,11 @@ class SP_Install {
update_option( 'sportspress_event_show_timeline', 'no' );
update_option( 'sportspress_event_logos_show_team_names', 'no' );
}
if ( version_compare( $version, '2.2.3', '<' ) ) {
$option = get_option( 'sportspress_player_show_total', 'no' );
update_option( 'sportspress_player_show_career_total', $option );
}
}
/**