diff --git a/readme.txt b/readme.txt index 2d129239..f520ce84 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: sport, sports, club, clubs, teams, statistics, stats, metrics, data, fixtu Donate link: http://tboy.co/donate Requires at least: 3.8 Tested up to: 4.5 -Stable tag: 2.0.4 +Stable tag: 2.0.5 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -239,6 +239,9 @@ When you upgrade to one of the SportsPress Pro licenses, you can simply activate == Changelog == += 2.0.5 = +* Fix - Hide team column in player statistics for player-vs-player sports. + = 2.0.4 = * Fix - Title generator in event importer. diff --git a/sportspress.php b/sportspress.php index e4d1dfa5..c113226c 100644 --- a/sportspress.php +++ b/sportspress.php @@ -3,7 +3,7 @@ * Plugin Name: SportsPress * Plugin URI: http://themeboy.com/sportspress/ * Description: Manage your club and its players, staff, events, league tables, and player lists. - * Version: 2.0.4 + * Version: 2.0.5 * Author: ThemeBoy * Author URI: http://themeboy.com * Requires at least: 3.8 @@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) : * Main SportsPress Class * * @class SportsPress - * @version 2.0.4 + * @version 2.0.5 */ final class SportsPress { /** * @var string */ - public $version = '2.0.4'; + public $version = '2.0.5'; /** * @var SportsPress The single instance of the class @@ -342,6 +342,13 @@ final class SportsPress { $plugins = array(); switch ( $sport ): + case 'baseball': + $plugins[] = array( + 'name' => 'SportsPress for Baseball', + 'slug' => 'sportspress-for-baseball', + 'required' => false, + ); + break; case 'cricket': $plugins[] = array( 'name' => 'SportsPress for Cricket',