diff --git a/includes/sportspress-match-stats/sportspress-match-stats.php b/includes/sportspress-match-stats/sportspress-match-stats.php index 0b9e3a3f4..f5ae5cf52 100644 --- a/includes/sportspress-match-stats/sportspress-match-stats.php +++ b/includes/sportspress-match-stats/sportspress-match-stats.php @@ -5,7 +5,7 @@ Description: Display head-to-head team comparison charts in events. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.0 +Version: 2.2 */ // Exit if accessed directly @@ -17,7 +17,7 @@ * Main SportsPress Match Stats Class * * @class SportsPress_Match_Stats - * @version 2.0 + * @version 2.2 */ class SportsPress_Match_Stats { @@ -43,7 +43,7 @@ public function __construct() { */ private function define_constants() { if ( !defined( 'SP_MATCH_STATS_VERSION' ) ) - define( 'SP_MATCH_STATS_VERSION', '2.0' ); + define( 'SP_MATCH_STATS_VERSION', '2.2' ); if ( !defined( 'SP_MATCH_STATS_URL' ) ) define( 'SP_MATCH_STATS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/includes/sportspress-scoreboard/templates/event-scoreboard.php b/includes/sportspress-scoreboard/templates/event-scoreboard.php index 3a243ff9a..a927cde8d 100644 --- a/includes/sportspress-scoreboard/templates/event-scoreboard.php +++ b/includes/sportspress-scoreboard/templates/event-scoreboard.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1.2 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress-staff-directories/templates/staff-gallery-thumbnail.php b/includes/sportspress-staff-directories/templates/staff-gallery-thumbnail.php index 79831b6bc..ec605b4c9 100644 --- a/includes/sportspress-staff-directories/templates/staff-gallery-thumbnail.php +++ b/includes/sportspress-staff-directories/templates/staff-gallery-thumbnail.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress_Staff_Directories - * @version 1.7.4 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress-staff-directories/templates/staff-gallery.php b/includes/sportspress-staff-directories/templates/staff-gallery.php index 7f1fae25d..eedf0a835 100644 --- a/includes/sportspress-staff-directories/templates/staff-gallery.php +++ b/includes/sportspress-staff-directories/templates/staff-gallery.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress_Staff_Directories - * @version 1.7 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress-timelines/sportspress-timelines.php b/includes/sportspress-timelines/sportspress-timelines.php index 683aee609..4417f838d 100644 --- a/includes/sportspress-timelines/sportspress-timelines.php +++ b/includes/sportspress-timelines/sportspress-timelines.php @@ -5,7 +5,7 @@ Description: Add timelines to SportsPress events. Author: ThemeBoy Author URI: http://themeboy.com -Version: 2.1.7 +Version: 2.2 */ // Exit if accessed directly @@ -17,7 +17,7 @@ * Main SportsPress Timelines Class * * @class SportsPress_Timelines - * @version 2.1.7 + * @version 2.2 * */ class SportsPress_Timelines { @@ -40,7 +40,7 @@ public function __construct() { */ private function define_constants() { if ( !defined( 'SP_TIMELINES_VERSION' ) ) - define( 'SP_TIMELINES_VERSION', '2.1.7' ); + define( 'SP_TIMELINES_VERSION', '2.2' ); if ( !defined( 'SP_TIMELINES_URL' ) ) define( 'SP_TIMELINES_URL', plugin_dir_url( __FILE__ ) ); diff --git a/includes/sportspress-timelines/templates/event-timeline.php b/includes/sportspress-timelines/templates/event-timeline.php index eeabb8e1b..55998a51e 100644 --- a/includes/sportspress-timelines/templates/event-timeline.php +++ b/includes/sportspress-timelines/templates/event-timeline.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress_Timelines - * @version 2.1.7 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress-tournaments/includes/class-sp-tournament-meta-boxes.php b/includes/sportspress-tournaments/includes/class-sp-tournament-meta-boxes.php index eb5426f6a..8ec3a7728 100644 --- a/includes/sportspress-tournaments/includes/class-sp-tournament-meta-boxes.php +++ b/includes/sportspress-tournaments/includes/class-sp-tournament-meta-boxes.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress_Tournaments - * @version 2.1.2 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress-tournaments/includes/class-sp-tournament.php b/includes/sportspress-tournaments/includes/class-sp-tournament.php index 8a5e66760..0f8cb718e 100644 --- a/includes/sportspress-tournaments/includes/class-sp-tournament.php +++ b/includes/sportspress-tournaments/includes/class-sp-tournament.php @@ -5,7 +5,7 @@ * The SportsPress tournament class handles individual tournament data. * * @class SP_Tournament - * @version 2.1.2 + * @version 2.2 * @package SportsPress_Tournaments * @category Class * @author ThemeBoy diff --git a/includes/sportspress-tournaments/sportspress-tournaments.php b/includes/sportspress-tournaments/sportspress-tournaments.php index e1449f3c1..1b4e4fe33 100644 --- a/includes/sportspress-tournaments/sportspress-tournaments.php +++ b/includes/sportspress-tournaments/sportspress-tournaments.php @@ -5,7 +5,7 @@ Description: Adds tournament groups and brackets to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com -Version: 2.0.12 +Version: 2.2 */ // Exit if accessed directly @@ -17,7 +17,7 @@ * Main SportsPress Tournaments Class * * @class SportsPress_Tournaments - * @version 2.0.12 + * @version 2.2 */ class SportsPress_Tournaments { @@ -67,7 +67,7 @@ public function __construct() { */ private function define_constants() { if ( !defined( 'SP_TOURNAMENTS_VERSION' ) ) - define( 'SP_TOURNAMENTS_VERSION', '2.0.12' ); + define( 'SP_TOURNAMENTS_VERSION', '2.2' ); if ( !defined( 'SP_TOURNAMENTS_URL' ) ) define( 'SP_TOURNAMENTS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/includes/sportspress-tournaments/templates/tournament-bracket-table.php b/includes/sportspress-tournaments/templates/tournament-bracket-table.php index 06fc2269a..4c4dd92bd 100644 --- a/includes/sportspress-tournaments/templates/tournament-bracket-table.php +++ b/includes/sportspress-tournaments/templates/tournament-bracket-table.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Tournaments - * @version 2.0.12 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress-tournaments/templates/tournament-bracket.php b/includes/sportspress-tournaments/templates/tournament-bracket.php index 88ad00dff..507c255ff 100644 --- a/includes/sportspress-tournaments/templates/tournament-bracket.php +++ b/includes/sportspress-tournaments/templates/tournament-bracket.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress_Tournaments - * @version 2.1.2 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/class-sp-admin-assets.php b/includes/sportspress/includes/admin/class-sp-admin-assets.php index 876a85202..7ed338506 100755 --- a/includes/sportspress/includes/admin/class-sp-admin-assets.php +++ b/includes/sportspress/includes/admin/class-sp-admin-assets.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 2.1.6 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/class-sp-admin-settings.php b/includes/sportspress/includes/admin/class-sp-admin-settings.php index e3209d20a..9263c4462 100644 --- a/includes/sportspress/includes/admin/class-sp-admin-settings.php +++ b/includes/sportspress/includes/admin/class-sp-admin-settings.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 2.1 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/class-sp-admin-sports.php b/includes/sportspress/includes/admin/class-sp-admin-sports.php index 5f04a73d4..d91cd23b0 100644 --- a/includes/sportspress/includes/admin/class-sp-admin-sports.php +++ b/includes/sportspress/includes/admin/class-sp-admin-sports.php @@ -5,7 +5,7 @@ * The SportsPress admin sports class stores preset sport data. * * @class SP_Admin_Sports - * @version 2.1.6 + * @version 2.2 * @package SportsPress/Admin * @category Class * @author ThemeBoy diff --git a/includes/sportspress/includes/admin/class-sp-admin-welcome.php b/includes/sportspress/includes/admin/class-sp-admin-welcome.php index a37cb90ee..74c56b693 100644 --- a/includes/sportspress/includes/admin/class-sp-admin-welcome.php +++ b/includes/sportspress/includes/admin/class-sp-admin-welcome.php @@ -9,7 +9,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 2.1.6 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/class-sp-admin.php b/includes/sportspress/includes/admin/class-sp-admin.php index 97be47ff8..864d3d6e9 100644 --- a/includes/sportspress/includes/admin/class-sp-admin.php +++ b/includes/sportspress/includes/admin/class-sp-admin.php @@ -10,7 +10,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 2.1 + * @version 2.2 */ class SP_Admin { diff --git a/includes/sportspress/includes/admin/post-types/class-sp-admin-cpt-player.php b/includes/sportspress/includes/admin/post-types/class-sp-admin-cpt-player.php index 60d1840f7..eed5ee221 100755 --- a/includes/sportspress/includes/admin/post-types/class-sp-admin-cpt-player.php +++ b/includes/sportspress/includes/admin/post-types/class-sp-admin-cpt-player.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Post_Types - * @version 1.9 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php index 4595b8058..80777c024 100644 --- a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php +++ b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 2.1.7 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php index 95b0a17fa..f300d70f9 100644 --- a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php +++ b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-data.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 2.1 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php index 1e2bbd73f..87f995679 100644 --- a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php +++ b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 2.1.6 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php index 2b59db98a..4a95b9e7d 100644 --- a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php +++ b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 2.1.6 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php index f5644e793..ad76100b4 100644 --- a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php +++ b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-list-details.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 2.1.5 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php index 9f9c30ff6..4bc24b635 100644 --- a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php +++ b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.9 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php index f89fa83c0..0c421f03b 100644 --- a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php +++ b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 2.1.6 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php index 7f205dd81..8112b717b 100644 --- a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php +++ b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 2.1.3 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php index 781299fd1..4dff4092a 100644 --- a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php +++ b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-statistic-details.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 2.0 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php index 1fe91ac69..4fd32962b 100644 --- a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php +++ b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.9.7 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php index 45aec42f1..4c024d7ec 100644 --- a/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php +++ b/includes/sportspress/includes/admin/post-types/meta-boxes/class-sp-meta-box-team-details.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.9.7 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/settings/class-sp-settings-events.php b/includes/sportspress/includes/admin/settings/class-sp-settings-events.php index 44f3159d5..f4d41d8da 100644 --- a/includes/sportspress/includes/admin/settings/class-sp-settings-events.php +++ b/includes/sportspress/includes/admin/settings/class-sp-settings-events.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 2.1.6 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/admin/settings/class-sp-settings-general.php b/includes/sportspress/includes/admin/settings/class-sp-settings-general.php index 578c8c2df..210b545c2 100644 --- a/includes/sportspress/includes/admin/settings/class-sp-settings-general.php +++ b/includes/sportspress/includes/admin/settings/class-sp-settings-general.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 1.9.17 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/api/class-sp-rest-api.php b/includes/sportspress/includes/api/class-sp-rest-api.php index 24afe2733..76c6220b5 100644 --- a/includes/sportspress/includes/api/class-sp-rest-api.php +++ b/includes/sportspress/includes/api/class-sp-rest-api.php @@ -5,7 +5,7 @@ * The SportsPress REST API class handles all API-related hooks. * * @class SP_REST_API - * @version 2.1.5 + * @version 2.2 * @package SportsPress/Classes * @category Class * @package SportsPress/API diff --git a/includes/sportspress/includes/class-sp-calendar.php b/includes/sportspress/includes/class-sp-calendar.php index b82d0ebf4..561a1ffb0 100644 --- a/includes/sportspress/includes/class-sp-calendar.php +++ b/includes/sportspress/includes/class-sp-calendar.php @@ -5,7 +5,7 @@ * The SportsPress calendar class handles individual calendar data. * * @class SP_Calendar - * @version 2.1.3 + * @version 2.2 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/sportspress/includes/class-sp-countries.php b/includes/sportspress/includes/class-sp-countries.php index 560e960bb..6f451adbc 100644 --- a/includes/sportspress/includes/class-sp-countries.php +++ b/includes/sportspress/includes/class-sp-countries.php @@ -5,7 +5,7 @@ * The SportsPress countries class stores continent/country data. * * @class SP_Countries - * @version 1.8 + * @version 2.2 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/sportspress/includes/class-sp-event.php b/includes/sportspress/includes/class-sp-event.php index ede124e11..476bafb35 100644 --- a/includes/sportspress/includes/class-sp-event.php +++ b/includes/sportspress/includes/class-sp-event.php @@ -5,7 +5,7 @@ * The SportsPress event class handles individual event data. * * @class SP_Event - * @version 2.1.6 + * @version 2.2 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/sportspress/includes/class-sp-frontend-scripts.php b/includes/sportspress/includes/class-sp-frontend-scripts.php index f4c0c4b82..a195c597f 100644 --- a/includes/sportspress/includes/class-sp-frontend-scripts.php +++ b/includes/sportspress/includes/class-sp-frontend-scripts.php @@ -3,7 +3,7 @@ * Handle frontend forms * * @class SP_Frontend_Scripts - * @version 2.0.11 + * @version 2.2 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/sportspress/includes/class-sp-install.php b/includes/sportspress/includes/class-sp-install.php index 12ed2a1dd..716f15dcd 100644 --- a/includes/sportspress/includes/class-sp-install.php +++ b/includes/sportspress/includes/class-sp-install.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Classes - * @version 2.1.4 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/class-sp-league-table.php b/includes/sportspress/includes/class-sp-league-table.php index 11714a279..e71aec57b 100644 --- a/includes/sportspress/includes/class-sp-league-table.php +++ b/includes/sportspress/includes/class-sp-league-table.php @@ -5,7 +5,7 @@ * The SportsPress league table class handles individual league table data. * * @class SP_League_Table - * @version 2.0.13 + * @version 2.2 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/sportspress/includes/class-sp-modules.php b/includes/sportspress/includes/class-sp-modules.php index 060ba43f3..f7ba324f8 100644 --- a/includes/sportspress/includes/class-sp-modules.php +++ b/includes/sportspress/includes/class-sp-modules.php @@ -5,7 +5,7 @@ * The SportsPress modules class stores available modules. * * @class SP_Modules - * @version 2.0 + * @version 2.2 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/sportspress/includes/class-sp-player-list.php b/includes/sportspress/includes/class-sp-player-list.php index ac4df2a4d..072296c2b 100644 --- a/includes/sportspress/includes/class-sp-player-list.php +++ b/includes/sportspress/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.1.6 + * @version 2.2 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/sportspress/includes/class-sp-player.php b/includes/sportspress/includes/class-sp-player.php index c158d2e4b..7c17b10aa 100644 --- a/includes/sportspress/includes/class-sp-player.php +++ b/includes/sportspress/includes/class-sp-player.php @@ -5,7 +5,7 @@ * The SportsPress player class handles individual player data. * * @class SP_Player - * @version 2.1.6 + * @version 2.2 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/sportspress/includes/class-sp-post-types.php b/includes/sportspress/includes/class-sp-post-types.php index 0f98e7e15..d4bc6ad74 100644 --- a/includes/sportspress/includes/class-sp-post-types.php +++ b/includes/sportspress/includes/class-sp-post-types.php @@ -9,7 +9,7 @@ * Registers post types and taxonomies * * @class SP_Post_types - * @version 2.1 + * @version 2.2 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/sportspress/includes/class-sp-templates.php b/includes/sportspress/includes/class-sp-templates.php index d440695b5..8ef4520c9 100644 --- a/includes/sportspress/includes/class-sp-templates.php +++ b/includes/sportspress/includes/class-sp-templates.php @@ -5,7 +5,7 @@ * The SportsPress templates class stores template layout data. * * @class SP_Templates - * @version 2.1.4 + * @version 2.2 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/sportspress/includes/sp-api-functions.php b/includes/sportspress/includes/sp-api-functions.php index ab197caf8..88c0ec1a4 100644 --- a/includes/sportspress/includes/sp-api-functions.php +++ b/includes/sportspress/includes/sp-api-functions.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 2.0 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/sp-core-functions.php b/includes/sportspress/includes/sp-core-functions.php index 9dcf9c155..ba9f171ba 100644 --- a/includes/sportspress/includes/sp-core-functions.php +++ b/includes/sportspress/includes/sp-core-functions.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 2.1.6 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/sp-template-functions.php b/includes/sportspress/includes/sp-template-functions.php index 78b8b3ac9..9a5b0da7e 100644 --- a/includes/sportspress/includes/sp-template-functions.php +++ b/includes/sportspress/includes/sp-template-functions.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 2.1.4 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/includes/sp-template-hooks.php b/includes/sportspress/includes/sp-template-hooks.php index 99d6b1cf1..32802509b 100644 --- a/includes/sportspress/includes/sp-template-hooks.php +++ b/includes/sportspress/includes/sp-template-hooks.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 2.1.4 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/modules/sportspress-admin-bar.php b/includes/sportspress/modules/sportspress-admin-bar.php index 87c4a0bb3..e4a94cdc2 100644 --- a/includes/sportspress/modules/sportspress-admin-bar.php +++ b/includes/sportspress/modules/sportspress-admin-bar.php @@ -5,7 +5,7 @@ Description: Add an admin bar link to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 1.9.14 +Version: 2.2 */ // Exit if accessed directly @@ -17,7 +17,7 @@ * Main SportsPress Admin Bar Class * * @class SportsPress_Admin_Bar - * @version 1.9.14 + * @version 2.2 */ class SportsPress_Admin_Bar { @@ -36,7 +36,7 @@ public function __construct() { */ private function define_constants() { if ( !defined( 'SP_ADMIN_BAR_VERSION' ) ) - define( 'SP_ADMIN_BAR_VERSION', '1.9.14' ); + define( 'SP_ADMIN_BAR_VERSION', '2.2' ); if ( !defined( 'SP_ADMIN_BAR_URL' ) ) define( 'SP_ADMIN_BAR_URL', plugin_dir_url( __FILE__ ) ); diff --git a/includes/sportspress/modules/sportspress-bulk-actions.php b/includes/sportspress/modules/sportspress-bulk-actions.php index 583043fae..c95b19b09 100644 --- a/includes/sportspress/modules/sportspress-bulk-actions.php +++ b/includes/sportspress/modules/sportspress-bulk-actions.php @@ -5,7 +5,7 @@ Description: Add bulk actions to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.1.7 +Version: 2.2 */ // Exit if accessed directly @@ -17,7 +17,7 @@ * Main SportsPress Bulk Actions Class * * @class SportsPress_Bulk_Actions - * @version 2.1.7 + * @version 2.2 */ class SportsPress_Bulk_Actions { @@ -39,7 +39,7 @@ public function __construct() { */ private function define_constants() { if ( !defined( 'SP_BULK_ACTIONS_VERSION' ) ) - define( 'SP_BULK_ACTIONS_VERSION', '2.1.7' ); + define( 'SP_BULK_ACTIONS_VERSION', '2.2' ); if ( !defined( 'SP_BULK_ACTIONS_URL' ) ) define( 'SP_BULK_ACTIONS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/includes/sportspress/modules/sportspress-calendars.php b/includes/sportspress/modules/sportspress-calendars.php index 85237a93a..dece5edee 100644 --- a/includes/sportspress/modules/sportspress-calendars.php +++ b/includes/sportspress/modules/sportspress-calendars.php @@ -5,7 +5,7 @@ Description: Add event calendars to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.0.7 +Version: 2.2 */ // Exit if accessed directly @@ -17,7 +17,7 @@ * Main SportsPress Calendars Class * * @class SportsPress_Calendars - * @version 2.0.7 + * @version 2.2 */ class SportsPress_Calendars { @@ -51,7 +51,7 @@ public function __construct() { */ private function define_constants() { if ( !defined( 'SP_CALENDARS_VERSION' ) ) - define( 'SP_CALENDARS_VERSION', '2.0.7' ); + define( 'SP_CALENDARS_VERSION', '2.2' ); if ( !defined( 'SP_CALENDARS_URL' ) ) define( 'SP_CALENDARS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/includes/sportspress/modules/sportspress-icons.php b/includes/sportspress/modules/sportspress-icons.php index f286149d7..9c31a608a 100644 --- a/includes/sportspress/modules/sportspress-icons.php +++ b/includes/sportspress/modules/sportspress-icons.php @@ -5,7 +5,7 @@ Description: Add vector performance icons to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.1 +Version: 2.2 */ // Exit if accessed directly @@ -17,7 +17,7 @@ * Main SportsPress Icons Class * * @class SportsPress_Icons - * @version 2.1 + * @version 2.2 */ class SportsPress_Icons { @@ -48,7 +48,7 @@ public function __construct() { */ private function define_constants() { if ( !defined( 'SP_ICONS_VERSION' ) ) - define( 'SP_ICONS_VERSION', '2.1' ); + define( 'SP_ICONS_VERSION', '2.2' ); if ( !defined( 'SP_ICONS_URL' ) ) define( 'SP_ICONS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/includes/sportspress/modules/sportspress-league-tables.php b/includes/sportspress/modules/sportspress-league-tables.php index a0ef475d3..2a94032d1 100644 --- a/includes/sportspress/modules/sportspress-league-tables.php +++ b/includes/sportspress/modules/sportspress-league-tables.php @@ -5,7 +5,7 @@ Description: Add league tables to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.1.4 +Version: 2.2 */ // Exit if accessed directly @@ -17,7 +17,7 @@ * Main SportsPress League Tables Class * * @class SportsPress_League_Tables - * @version 2.1.4 + * @version 2.2 */ class SportsPress_League_Tables { @@ -48,7 +48,7 @@ public function __construct() { */ private function define_constants() { if ( !defined( 'SP_LEAGUE_TABLES_VERSION' ) ) - define( 'SP_LEAGUE_TABLES_VERSION', '2.1.4' ); + define( 'SP_LEAGUE_TABLES_VERSION', '2.2' ); if ( !defined( 'SP_LEAGUE_TABLES_URL' ) ) define( 'SP_LEAGUE_TABLES_URL', plugin_dir_url( __FILE__ ) ); diff --git a/includes/sportspress/modules/sportspress-style.php b/includes/sportspress/modules/sportspress-style.php index 3275d1355..d9d42b516 100644 --- a/includes/sportspress/modules/sportspress-style.php +++ b/includes/sportspress/modules/sportspress-style.php @@ -5,7 +5,7 @@ Description: Add frontend styles to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.1.7 +Version: 2.2 */ // Exit if accessed directly @@ -17,7 +17,7 @@ * Main SportsPress Style Class * * @class SportsPress_Style - * @version 2.1.7 + * @version 2.2 */ class SportsPress_Style { @@ -43,7 +43,7 @@ public function __construct() { */ private function define_constants() { if ( !defined( 'SP_STYLE_VERSION' ) ) - define( 'SP_STYLE_VERSION', '2.1.7' ); + define( 'SP_STYLE_VERSION', '2.2' ); if ( !defined( 'SP_STYLE_URL' ) ) define( 'SP_STYLE_URL', plugin_dir_url( __FILE__ ) ); diff --git a/includes/sportspress/templates/countdown.php b/includes/sportspress/templates/countdown.php index 80289aa74..c09df5f91 100644 --- a/includes/sportspress/templates/countdown.php +++ b/includes/sportspress/templates/countdown.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.0.13 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/templates/event-blocks.php b/includes/sportspress/templates/event-blocks.php index ea3950e1b..2e9e07af3 100644 --- a/includes/sportspress/templates/event-blocks.php +++ b/includes/sportspress/templates/event-blocks.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/templates/event-calendar.php b/includes/sportspress/templates/event-calendar.php index 9bd144095..5230e7e86 100644 --- a/includes/sportspress/templates/event-calendar.php +++ b/includes/sportspress/templates/event-calendar.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/templates/event-fixtures-results.php b/includes/sportspress/templates/event-fixtures-results.php index 8d5af2f96..25375408d 100644 --- a/includes/sportspress/templates/event-fixtures-results.php +++ b/includes/sportspress/templates/event-fixtures-results.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.0 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/templates/event-list.php b/includes/sportspress/templates/event-list.php index e8a5e2328..8fa358c89 100644 --- a/includes/sportspress/templates/event-list.php +++ b/includes/sportspress/templates/event-list.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1.2 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/templates/event-logos-block.php b/includes/sportspress/templates/event-logos-block.php index aa335474f..91a1f003d 100644 --- a/includes/sportspress/templates/event-logos-block.php +++ b/includes/sportspress/templates/event-logos-block.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1.3 + * @version 2.2 */ ?>
diff --git a/includes/sportspress/templates/event-logos-inline.php b/includes/sportspress/templates/event-logos-inline.php index ff6b9f94e..cebe366b5 100644 --- a/includes/sportspress/templates/event-logos-inline.php +++ b/includes/sportspress/templates/event-logos-inline.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1 + * @version 2.2 */ $team_logos = array(); diff --git a/includes/sportspress/templates/event-logos.php b/includes/sportspress/templates/event-logos.php index 0b3094473..345af317e 100644 --- a/includes/sportspress/templates/event-logos.php +++ b/includes/sportspress/templates/event-logos.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1.3 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/templates/event-performance-table-combined.php b/includes/sportspress/templates/event-performance-table-combined.php index 0a187e03f..dddc40667 100644 --- a/includes/sportspress/templates/event-performance-table-combined.php +++ b/includes/sportspress/templates/event-performance-table-combined.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1.6 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/templates/event-performance-table.php b/includes/sportspress/templates/event-performance-table.php index a475ec034..ed0f4404c 100644 --- a/includes/sportspress/templates/event-performance-table.php +++ b/includes/sportspress/templates/event-performance-table.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1.6 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/templates/event-performance.php b/includes/sportspress/templates/event-performance.php index 15f7d18d9..84a5a0eb6 100644 --- a/includes/sportspress/templates/event-performance.php +++ b/includes/sportspress/templates/event-performance.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1.6 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/templates/player-events.php b/includes/sportspress/templates/player-events.php index 4029e10c4..039695d45 100644 --- a/includes/sportspress/templates/player-events.php +++ b/includes/sportspress/templates/player-events.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1.7 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/templates/player-gallery-thumbnail.php b/includes/sportspress/templates/player-gallery-thumbnail.php index c28ed83ca..ee0925c61 100644 --- a/includes/sportspress/templates/player-gallery-thumbnail.php +++ b/includes/sportspress/templates/player-gallery-thumbnail.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.9.13 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/templates/player-gallery.php b/includes/sportspress/templates/player-gallery.php index eabfcf651..453585b4d 100644 --- a/includes/sportspress/templates/player-gallery.php +++ b/includes/sportspress/templates/player-gallery.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.9.13 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/templates/player-list.php b/includes/sportspress/templates/player-list.php index ef1a5eeb2..5c46c9958 100644 --- a/includes/sportspress/templates/player-list.php +++ b/includes/sportspress/templates/player-list.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.1.3 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sportspress/templates/team-events.php b/includes/sportspress/templates/team-events.php index 5d0df620e..3699b4d72 100644 --- a/includes/sportspress/templates/team-events.php +++ b/includes/sportspress/templates/team-events.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.0 + * @version 2.2 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/readme.txt b/readme.txt index be583e8c8..95f4bbc23 100644 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: ThemeBoy, brianmiyaji, aylaview Tags: calendars, club, club management, esports, events, fixtures, leagues, league management, sports, sports club, sports data, team rosters Requires at least: 3.8 -Tested up to: 4.6 -Stable tag: 2.1.7 +Tested up to: 4.7 +Stable tag: 2.2 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -115,6 +115,47 @@ If on the off-chance you do encounter issues with the event/team/player/staff/sp == Changelog == += 2.2 = +* Feature - Timelines module for displaying player performance sequence in events. +* Feature - New frontend stylesheet for third-party themes. +* Feature - New chronological streak format in league tables. +* Feature - Head to head tiebreaker option in league tables. +* Feature - Add option to select number of players in player lists. +* Feature - Quick edit player's team and squad number. +* Feature - Bulk edit players' past and current teams. +* Feature - Taxonomies added to REST API. +* Feature - Ability to display event history in player profiles. +* Feature - Event list format option added to player and team events. +* Feature - Option to record minutes for specific statistics. +* Feature - Time format added for racing and timed sports. +* Feature - Dedicated option to redirect team pages to site URL. +* Feature - Bulk action to generate team calendars. +* Feature - Automatically adjust played minutes based on substitution times. +* Feature - Match day column option added to event lists. +* Tweak - Staff gallery markup for consistency with player gallery. +* Tweak - Split brackets for double elimination tournaments. +* Tweak - Update RTL stylesheet for tournaments. +* Tweak - Remove event limit in calendars. +* Tweak - Allow player squad number to be zero. +* Tweak - Enable mixing performance and statistic column order. +* Tweak - Filter player statistic equations by offense and defense. +* Tweak - System status hidden unless in debug mode. +* Tweak - Move event list column options to sidebar. +* Tweak - Return zero instead of error if dividing by zero. +* Tweak - Always display performance icons in admin. +* Tweak - Add preview notation in event blocks by default. +* Tweak - Single player performance name option added for hover text in icons mode. +* Fix - Scoreboard buttons not working on iOS. +* Fix - Player list precision number format error. +* Fix - Player list adjustments for existing values. +* Fix - Hide empty positions in player lists and galleries. +* Fix - Import button selectors disappeared in WordPress 4.7. +* Fix - Substitution time missing parentheses. +* Fix - Staff for home team not being displayed in events. +* Fix - Enable output of time and results without team names in home/away mode. +* Fix - Prevent totals override in box scores. +* Localization - Add Gibraltar nationality option and flag. + = 2.1.7 = * Fix - Activation error on older versions of PHP. diff --git a/sportspress-pro.php b/sportspress-pro.php index bcd4f9c9e..f344928a1 100644 --- a/sportspress-pro.php +++ b/sportspress-pro.php @@ -3,7 +3,7 @@ * Plugin Name: SportsPress Pro * Plugin URI: http://tboy.co/pro * Description: Advanced club & league management from ThemeBoy. - * Version: 2.1.7 + * Version: 2.2 * Author: ThemeBoy * Author URI: http://themeboy.com * Requires at least: 3.8 @@ -26,14 +26,14 @@ * Main SportsPress Pro Class * * @class SportsPress_Pro - * @version 2.1.7 + * @version 2.2 */ final class SportsPress_Pro { /** * @var string */ - public $version = '2.1.7'; + public $version = '2.2'; /** * SportsPress Pro Constructor. @@ -55,6 +55,7 @@ public function __construct() { // Hooks add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'action_links' ) ); + add_action( 'sportspress_before_welcome_features', array( $this, 'welcome_features' ) ); add_action( 'admin_init', array( $this, 'deactivate_core' ) ); add_action( 'before_sportspress_init', array( $this, 'load_module_translations' ), 0 ); add_action( 'get_the_generator_html', array( $this, 'generator_tag' ), 10, 2 ); @@ -112,6 +113,31 @@ public function action_links( $links ) { ), $links ); } + /** + * Displayed features on welcome screen. + */ + public function welcome_features() { + ?> +
+

Timelines

+ Templates +
+

Visualize Minutes

+

Introducing a new way to visualize timed statistics by displaying them in a horizontal timeline across the top of event pages. Icons can be customized for each statistic via the Configure screen

+
+
+

Accurate Timestamps

+

The Full Time setting in each event will automatically determine where each icon is placed in the timeline. Activate Timelines in SportsPress Settings to start using this new module.

+
+
+ +
+