Tag version 2.0.5

This commit is contained in:
Brian Miyaji
2016-05-03 14:09:27 +10:00
parent 3ba578c41a
commit 10bc50d5ad
2 changed files with 14 additions and 4 deletions

View File

@@ -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.

View File

@@ -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',