diff --git a/includes/admin/settings/class-sp-settings-players.php b/includes/admin/settings/class-sp-settings-players.php index 9c8242a2..23cebfaf 100644 --- a/includes/admin/settings/class-sp-settings-players.php +++ b/includes/admin/settings/class-sp-settings-players.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 2.1 + * @version 2.1.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/settings/class-sp-settings-staff.php b/includes/admin/settings/class-sp-settings-staff.php index e97df3b0..e1fb95dc 100644 --- a/includes/admin/settings/class-sp-settings-staff.php +++ b/includes/admin/settings/class-sp-settings-staff.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 2.1 + * @version 2.1.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/class-sp-install.php b/includes/class-sp-install.php index d535083f..932f3a58 100644 --- a/includes/class-sp-install.php +++ b/includes/class-sp-install.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Classes - * @version 2.1 + * @version 2.1.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/class-sp-player-list.php b/includes/class-sp-player-list.php index 21d82c40..4136f6d6 100644 --- a/includes/class-sp-player-list.php +++ b/includes/class-sp-player-list.php @@ -5,7 +5,7 @@ * The SportsPress player list class handles individual player list data. * * @class SP_Player_List - * @version 2.0.13 + * @version 2.1.4 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-template-loader.php b/includes/class-sp-template-loader.php index 86d15751..7f4650ae 100644 --- a/includes/class-sp-template-loader.php +++ b/includes/class-sp-template-loader.php @@ -3,7 +3,7 @@ * Template Loader * * @class SP_Template_Loader - * @version 2.1.2 + * @version 2.1.4 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-templates.php b/includes/class-sp-templates.php index 14db6125..e446e949 100644 --- a/includes/class-sp-templates.php +++ b/includes/class-sp-templates.php @@ -5,7 +5,7 @@ * The SportsPress templates class stores template layout data. * * @class SP_Templates - * @version 2.0 + * @version 2.1.4 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/sp-core-functions.php b/includes/sp-core-functions.php index 64968d79..dd72acc9 100644 --- a/includes/sp-core-functions.php +++ b/includes/sp-core-functions.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 2.1.2 + * @version 2.1.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sp-template-functions.php b/includes/sp-template-functions.php index 184c0c43..cda122fa 100644 --- a/includes/sp-template-functions.php +++ b/includes/sp-template-functions.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 2.0 + * @version 2.1.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sp-template-hooks.php b/includes/sp-template-hooks.php index cfd2a693..5674acf2 100644 --- a/includes/sp-template-hooks.php +++ b/includes/sp-template-hooks.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 2.1.3 + * @version 2.1.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/modules/sportspress-birthdays.php b/modules/sportspress-birthdays.php index b1602501..89640a8b 100644 --- a/modules/sportspress-birthdays.php +++ b/modules/sportspress-birthdays.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Add birthdays to players and staff. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.0.8 +Version: 2.1.4 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Birthdays' ) ) : * Main SportsPress Birthdays Class * * @class SportsPress_Birthdays - * @version 2.0.8 + * @version 2.1.4 */ class SportsPress_Birthdays { @@ -43,7 +43,7 @@ class SportsPress_Birthdays { */ private function define_constants() { if ( !defined( 'SP_BIRTHDAYS_VERSION' ) ) - define( 'SP_BIRTHDAYS_VERSION', '2.0.8' ); + define( 'SP_BIRTHDAYS_VERSION', '2.1.4' ); if ( !defined( 'SP_BIRTHDAYS_URL' ) ) define( 'SP_BIRTHDAYS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-league-tables.php b/modules/sportspress-league-tables.php index b7fc6dba..3fe21c8d 100644 --- a/modules/sportspress-league-tables.php +++ b/modules/sportspress-league-tables.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Add league tables to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.0 +Version: 2.1.4 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_League_Tables' ) ) : * Main SportsPress League Tables Class * * @class SportsPress_League_Tables - * @version 2.0 + * @version 2.1.4 */ class SportsPress_League_Tables { @@ -49,7 +49,7 @@ class SportsPress_League_Tables { */ private function define_constants() { if ( !defined( 'SP_LEAGUE_TABLES_VERSION' ) ) - define( 'SP_LEAGUE_TABLES_VERSION', '2.0' ); + define( 'SP_LEAGUE_TABLES_VERSION', '2.1.4' ); if ( !defined( 'SP_LEAGUE_TABLES_URL' ) ) define( 'SP_LEAGUE_TABLES_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-player-lists.php b/modules/sportspress-player-lists.php index 295f557f..ade50df9 100644 --- a/modules/sportspress-player-lists.php +++ b/modules/sportspress-player-lists.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Add player lists to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.0 +Version: 2.1.4 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Player_Lists' ) ) : * Main SportsPress Player Lists Class * * @class SportsPress_Player_Lists - * @version 2.0 + * @version 2.1.4 */ class SportsPress_Player_Lists { @@ -48,7 +48,7 @@ class SportsPress_Player_Lists { */ private function define_constants() { if ( !defined( 'SP_PLAYER_LISTS_VERSION' ) ) - define( 'SP_PLAYER_LISTS_VERSION', '2.0' ); + define( 'SP_PLAYER_LISTS_VERSION', '2.1.4' ); if ( !defined( 'SP_PLAYER_LISTS_URL' ) ) define( 'SP_PLAYER_LISTS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/readme.txt b/readme.txt index aebb59d8..cdc19f0a 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: calendars, club, club management, esports, events, fixtures, leagues, leag Donate link: http://tboy.co/donate Requires at least: 3.8 Tested up to: 4.6 -Stable tag: 2.1.3 +Stable tag: 2.1.4 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -239,6 +239,18 @@ When you upgrade to one of the SportsPress Pro licenses, you can simply activate == Changelog == += 2.1.4 = +* Feature - Player and staff dropdown templates added to layout designer. +* Tweak - Default tab labels from layout designer. +* Tweak - Add "Home" and "Away" to text options. +* Tweak - Add horizontal padding to centered event list columns. +* Fix - Disable numeric slug generation for events due to permalink issues in some cases. +* Fix - Permalink issues caused by filter for scheduled events. +* Fix - Scheduled events being ignored by REST API. +* Fix - Inconsistent styling of player and staff dropdowns. +* Fix - Only include current players in player lists. +* Fix - Age calculation in BuddyPress context. + = 2.1.3 = * Tweak - Add options to select number, team, and position columns to player list shortcode. * Fix - Totals row offset in player statistics admin. diff --git a/sportspress.php b/sportspress.php index 33ae2dbe..af5784e5 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.1.3 + * Version: 2.1.4 * 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.1.3 + * @version 2.1.4 */ final class SportsPress { /** * @var string */ - public $version = '2.1.3'; + public $version = '2.1.4'; /** * @var SportsPress The single instance of the class diff --git a/templates/player-selector.php b/templates/player-selector.php index c5870192..4e894a71 100644 --- a/templates/player-selector.php +++ b/templates/player-selector.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1.3 + * @version 2.1.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/staff-selector.php b/templates/staff-selector.php index 89b0925a..b08fd9f3 100644 --- a/templates/staff-selector.php +++ b/templates/staff-selector.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1.3 + * @version 2.1.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly