From 6963f081bff36adf76fd8d7c3d8d6d8203f70198 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Wed, 29 May 2019 17:07:10 +1000 Subject: [PATCH] Tag version 2.6.15 --- changelog.txt | 14 ++++++++++++++ feeds/ical.php | 2 +- includes/admin/class-sp-admin-assets.php | 2 +- includes/admin/class-sp-admin-setup-wizard.php | 2 +- includes/admin/class-sp-admin-taxonomies.php | 2 +- .../class-sp-meta-box-outcome-details.php | 2 +- .../meta-boxes/class-sp-meta-box-table-data.php | 2 +- .../admin/settings/class-sp-settings-events.php | 2 +- includes/class-sp-ajax.php | 2 +- includes/class-sp-calendar.php | 2 +- includes/class-sp-league-table.php | 2 +- includes/class-sp-modules.php | 2 +- license.txt | 2 +- modules/sportspress-calendars.php | 6 +++--- modules/sportspress-event-specs.php | 6 +++--- modules/sportspress-league-tables.php | 6 +++--- modules/sportspress-officials.php | 6 +++--- modules/sportspress-openstreetmap.php | 6 +++--- modules/sportspress-player-lists.php | 6 +++--- readme.txt | 6 ++++-- sportspress.php | 6 +++--- templates/event-blocks.php | 2 +- templates/event-list.php | 2 +- templates/player-list.php | 2 +- templates/venue-map.php | 2 +- 25 files changed, 55 insertions(+), 39 deletions(-) diff --git a/changelog.txt b/changelog.txt index 01ec474a..373f850d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,19 @@ == SportsPress Changelog == += 2.6.15 = +* Important - Using Google Maps will require a SportsPress Pro license after August 31, 2019. +* Refactor - Fallback to OpenStreetMap for venue maps without SportsPress Pro. +* Feature - Option to display team logos instead of team names in player lists. +* Feature - Option to display custom specs in event blocks and event lists. +* Tweak - Improve page load speed when creating new league tables. +* Tweak - Prevent displaying events other than published or scheduled. +* Fix - Icons only appearing in the first table when player lists are grouped. +* Fix - Character encoding and CRLF errors in calendar feeds. +* Fix - Missing field location Schema error. +* Fix - Dropdowns collapsing in admin when meta boxes are hidden. +* Fix - Timezone handling in countdowns. +* Fix - Error when using special characters in admin settings. + = 2.6.14 = * Fix - API endpoints for secondary post types. diff --git a/feeds/ical.php b/feeds/ical.php index 5e12bfd3..bca617dd 100644 --- a/feeds/ical.php +++ b/feeds/ical.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Feeds * @package SportsPress/Feeds - * @version 2.6.9 + * @version 2.6.15 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/class-sp-admin-assets.php b/includes/admin/class-sp-admin-assets.php index 2580ac2c..ed45b204 100755 --- a/includes/admin/class-sp-admin-assets.php +++ b/includes/admin/class-sp-admin-assets.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 2.6.8 + * @version 2.6.15 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/class-sp-admin-setup-wizard.php b/includes/admin/class-sp-admin-setup-wizard.php index 5a732ede..059bf7c9 100644 --- a/includes/admin/class-sp-admin-setup-wizard.php +++ b/includes/admin/class-sp-admin-setup-wizard.php @@ -9,7 +9,7 @@ * @author WooThemes * @category Admin * @package SportsPress/Admin - * @version 2.6.7 + * @version 2.6.15 */ if ( ! defined( 'ABSPATH' ) ) { exit; diff --git a/includes/admin/class-sp-admin-taxonomies.php b/includes/admin/class-sp-admin-taxonomies.php index f1d042f8..e67d44e7 100644 --- a/includes/admin/class-sp-admin-taxonomies.php +++ b/includes/admin/class-sp-admin-taxonomies.php @@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) { * Handles taxonomies in admin * * @class SP_Admin_Taxonomies - * @version 2.6.9 + * @version 2.6.15 * @package SportsPress/Admin * @category Class * @author ThemeBoy diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php index ade6f2bd..4f63a9f9 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-outcome-details.php +++ b/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 2.6.3 + * @version 2.6.15 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php index b8a47aeb..2ccd46e9 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-table-data.php +++ b/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 2.5.5 + * @version 2.6.15 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/settings/class-sp-settings-events.php b/includes/admin/settings/class-sp-settings-events.php index 6c66ee92..4f638142 100644 --- a/includes/admin/settings/class-sp-settings-events.php +++ b/includes/admin/settings/class-sp-settings-events.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 2.6 + * @version 2.6.15 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/class-sp-ajax.php b/includes/class-sp-ajax.php index b81960f2..4cb5643f 100644 --- a/includes/class-sp-ajax.php +++ b/includes/class-sp-ajax.php @@ -8,7 +8,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly * AJAX Event Handler * * @class SP_AJAX - * @version 2.6.12 + * @version 2.6.15 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-calendar.php b/includes/class-sp-calendar.php index 6a4aee61..334d9362 100644 --- a/includes/class-sp-calendar.php +++ b/includes/class-sp-calendar.php @@ -8,7 +8,7 @@ * https://wordpress.org/support/topic/timezone-issues-with-schedule-calendar-list/ * * @class SP_Calendar - * @version 2.6.11 + * @version 2.6.15 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-league-table.php b/includes/class-sp-league-table.php index 83a83509..f9122140 100644 --- a/includes/class-sp-league-table.php +++ b/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.6.6 + * @version 2.6.15 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-modules.php b/includes/class-sp-modules.php index 68052446..8e1ebfd8 100644 --- a/includes/class-sp-modules.php +++ b/includes/class-sp-modules.php @@ -5,7 +5,7 @@ * The SportsPress modules class stores available modules. * * @class SP_Modules - * @version 2.6.9 + * @version 2.6.15 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/license.txt b/license.txt index bc531ea0..238d4723 100644 --- a/license.txt +++ b/license.txt @@ -1,6 +1,6 @@ SportsPress -Copyright 2018 by the contributors +Copyright 2019 by the contributors This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/modules/sportspress-calendars.php b/modules/sportspress-calendars.php index 531e4635..ca7a901e 100644 --- a/modules/sportspress-calendars.php +++ b/modules/sportspress-calendars.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Add event calendars to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.6.14 +Version: 2.6.15 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Calendars' ) ) : * Main SportsPress Calendars Class * * @class SportsPress_Calendars - * @version 2.6.14 + * @version 2.6.15 */ class SportsPress_Calendars { @@ -51,7 +51,7 @@ class SportsPress_Calendars { */ private function define_constants() { if ( !defined( 'SP_CALENDARS_VERSION' ) ) - define( 'SP_CALENDARS_VERSION', '2.6.14' ); + define( 'SP_CALENDARS_VERSION', '2.6.15' ); if ( !defined( 'SP_CALENDARS_URL' ) ) define( 'SP_CALENDARS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-event-specs.php b/modules/sportspress-event-specs.php index e973dc37..a0ebf5c0 100644 --- a/modules/sportspress-event-specs.php +++ b/modules/sportspress-event-specs.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Add event specs/stats to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.6 +Version: 2.6.15 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Event_Specs' ) ) : * Main SportsPress Event Specs Class * * @class SportsPress_Event_Specs - * @version 2.6 + * @version 2.6.15 */ class SportsPress_Event_Specs { @@ -49,7 +49,7 @@ class SportsPress_Event_Specs { */ private function define_constants() { if ( !defined( 'SP_EVENT_SPECS_VERSION' ) ) - define( 'SP_EVENT_SPECS_VERSION', '2.6' ); + define( 'SP_EVENT_SPECS_VERSION', '2.6.15' ); if ( !defined( 'SP_EVENT_SPECS_URL' ) ) define( 'SP_EVENT_SPECS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-league-tables.php b/modules/sportspress-league-tables.php index da44a831..140491ba 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.6.14 +Version: 2.6.15 */ // 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.6.14 + * @version 2.6.15 */ class SportsPress_League_Tables { @@ -48,7 +48,7 @@ class SportsPress_League_Tables { */ private function define_constants() { if ( !defined( 'SP_LEAGUE_TABLES_VERSION' ) ) - define( 'SP_LEAGUE_TABLES_VERSION', '2.6.14' ); + define( 'SP_LEAGUE_TABLES_VERSION', '2.6.15' ); if ( !defined( 'SP_LEAGUE_TABLES_URL' ) ) define( 'SP_LEAGUE_TABLES_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-officials.php b/modules/sportspress-officials.php index 77451f99..f6d7d48b 100644 --- a/modules/sportspress-officials.php +++ b/modules/sportspress-officials.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Add officials to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.6.14 +Version: 2.6.15 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Officials' ) ) : * Main SportsPress Officials Class * * @class SportsPress_Officials - * @version 2.6.14 + * @version 2.6.15 */ class SportsPress_Officials { @@ -66,7 +66,7 @@ class SportsPress_Officials { */ private function define_constants() { if ( !defined( 'SP_OFFICIALS_VERSION' ) ) - define( 'SP_OFFICIALS_VERSION', '2.6.14' ); + define( 'SP_OFFICIALS_VERSION', '2.6.15' ); if ( !defined( 'SP_OFFICIALS_URL' ) ) define( 'SP_OFFICIALS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-openstreetmap.php b/modules/sportspress-openstreetmap.php index 85e488bf..baf7e41d 100644 --- a/modules/sportspress-openstreetmap.php +++ b/modules/sportspress-openstreetmap.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Integrate OpenStreetMap to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.7 +Version: 2.6.15 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_OpenStreetMap' ) ): * Main SportsPress OpenStreetMap Class * * @class SportsPress_OpenStreetMap - * @version 2.7 + * @version 2.6.15 */ class SportsPress_OpenStreetMap { @@ -44,7 +44,7 @@ if ( ! class_exists( 'SportsPress_OpenStreetMap' ) ): */ private function define_constants() { if ( !defined( 'SP_OPENSTREETMAP_VERSION' ) ) - define( 'SP_OPENSTREETMAP_VERSION', '2.7' ); + define( 'SP_OPENSTREETMAP_VERSION', '2.6.15' ); if ( !defined( 'SP_OPENSTREETMAP_URL' ) ) define( 'SP_OPENSTREETMAP_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-player-lists.php b/modules/sportspress-player-lists.php index c8cac1d1..4b98cd15 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.6.14 +Version: 2.6.15 */ // 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.6.14 + * @version 2.6.15 */ 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.6.14' ); + define( 'SP_PLAYER_LISTS_VERSION', '2.6.15' ); if ( !defined( 'SP_PLAYER_LISTS_URL' ) ) define( 'SP_PLAYER_LISTS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/readme.txt b/readme.txt index 72304e13..33574d37 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: ThemeBoy, brianmiyaji, aylaview, savvasha, nabil_kadimi Tags: calendars, club, club management, esports, events, fixtures, leagues, league management, sports, sports club, sports data, team rosters Donate link: http://tboy.co/donate Requires at least: 3.8 -Tested up to: 5.0 -Stable tag: 2.6.14 +Tested up to: 5.2 +Stable tag: 2.6.15 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -248,6 +248,8 @@ When you upgrade to one of the SportsPress Pro licenses, you can simply activate * Fix - Character encoding and CRLF errors in calendar feeds. * Fix - Missing field location Schema error. * Fix - Dropdowns collapsing in admin when meta boxes are hidden. +* Fix - Timezone handling in countdowns. +* Fix - Error when using special characters in admin settings. = 2.6.14 = * Fix - API endpoints for secondary post types. diff --git a/sportspress.php b/sportspress.php index 608c00db..ba378ab3 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.6.14 + * Version: 2.6.15 * 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.6.14 + * @version 2.6.15 */ final class SportsPress { /** * @var string */ - public $version = '2.6.14'; + public $version = '2.6.15'; /** * @var SportsPress The single instance of the class diff --git a/templates/event-blocks.php b/templates/event-blocks.php index 44334318..29cdf872 100644 --- a/templates/event-blocks.php +++ b/templates/event-blocks.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.6.11 + * @version 2.6.15 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-list.php b/templates/event-list.php index 1e68632e..014988a3 100644 --- a/templates/event-list.php +++ b/templates/event-list.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.6.12 + * @version 2.6.15 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/player-list.php b/templates/player-list.php index 0c16d2b6..9a85de6c 100644 --- a/templates/player-list.php +++ b/templates/player-list.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.6.10 + * @version 2.6.15 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/venue-map.php b/templates/venue-map.php index 3dbf498f..25c9c82d 100644 --- a/templates/venue-map.php +++ b/templates/venue-map.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.6.8 + * @version 2.6.15 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly