Update file versions

This commit is contained in:
Brian Miyaji
2021-11-05 15:17:59 +09:00
parent f2b2e9a50e
commit fb9534dc88
24 changed files with 55 additions and 28 deletions

View File

@@ -1,5 +1,18 @@
== SportsPress Changelog == == SportsPress Changelog ==
= 2.7.9 =
* Tweak - Add support for event format in REST API.
* Tweak - Add "Order" and "Order by" selection fields for countdown widget.
* Tweak - Add option to display event status in countdown widget.
* Tweak - Add ability to filter events by format in calendar template.
* Fix - Reverse order not applying to teams in event lists.
* Fix - XSS issues in events admin page.
* Fix - Filtering based on format for event blocks.
* Fix - Last week and next week filter not applying to player lists.
* Fix - Deselecting a selected team in settings.
* Fix - PHP 8.0 deprecated warnings.
* Localization - Add nationalities and flags for French Guiana, French Polynesia, Guadeloupe, Greenland, Martinique, Reunion, and Sint Maarten.
= 2.7.8 = = 2.7.8 =
* Fix - Event results, box scores, and players stats not updating via REST API. * Fix - Event results, box scores, and players stats not updating via REST API.

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy * @author ThemeBoy
* @category Admin * @category Admin
* @package SportsPress/Admin * @package SportsPress/Admin
* @version 2.6.8 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -31,7 +31,7 @@ class SP_Admin_Dashboard {
* Init dashboard widgets * Init dashboard widgets
*/ */
public function init() { public function init() {
wp_add_dashboard_widget( 'sportspress_dashboard_news', __( 'Sports News', 'sportspress' ), array( $this, 'news_widget' ), null, null, 'side' ); //wp_add_dashboard_widget( 'sportspress_dashboard_news', __( 'Sports News', 'sportspress' ), array( $this, 'news_widget' ), null, null, 'side' );
wp_add_dashboard_widget( 'sportspress_dashboard_status', __( 'SportsPress', 'sportspress' ), array( $this, 'status_widget' ) ); wp_add_dashboard_widget( 'sportspress_dashboard_status', __( 'SportsPress', 'sportspress' ), array( $this, 'status_widget' ) );
add_filter( 'dashboard_glance_items', array( $this, 'glance_items' ), 10, 1 ); add_filter( 'dashboard_glance_items', array( $this, 'glance_items' ), 10, 1 );
} }

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy * @author ThemeBoy
* @category Admin * @category Admin
* @package SportsPress/Admin * @package SportsPress/Admin
* @version 2.5.1 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy * @author ThemeBoy
* @category Admin * @category Admin
* @package SportsPress/Admin/Post_Types * @package SportsPress/Admin/Post_Types
* @version 2.7.7 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy * @author ThemeBoy
* @category Admin * @category Admin
* @package SportsPress/Admin/Meta_Boxes * @package SportsPress/Admin/Meta_Boxes
* @version 2.7.3 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy * @author ThemeBoy
* @category Admin * @category Admin
* @package SportsPress/Admin/Meta_Boxes * @package SportsPress/Admin/Meta_Boxes
* @version 2.6.9 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy * @author ThemeBoy
* @category Admin * @category Admin
* @package SportsPress/Admin/Meta_Boxes * @package SportsPress/Admin/Meta_Boxes
* @version 2.7 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* The SportsPress REST API class handles all API-related hooks. * The SportsPress REST API class handles all API-related hooks.
* *
* @class SP_REST_API * @class SP_REST_API
* @version 2.7.8 * @version 2.7.9
* @package SportsPress/Classes * @package SportsPress/Classes
* @category Class * @category Class
* @package SportsPress/API * @package SportsPress/API

View File

@@ -5,7 +5,7 @@
* The SportsPress countries class stores continent/country data. * The SportsPress countries class stores continent/country data.
* *
* @class SP_Countries * @class SP_Countries
* @version 2.7.3 * @version 2.7.9
* @package SportsPress/Classes * @package SportsPress/Classes
* @category Class * @category Class
* @author ThemeBoy * @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress event class handles individual event data. * The SportsPress event class handles individual event data.
* *
* @class SP_Event * @class SP_Event
* @version 2.6.12 * @version 2.7.9
* @package SportsPress/Classes * @package SportsPress/Classes
* @category Class * @category Class
* @author ThemeBoy * @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress league table class handles individual league table data. * The SportsPress league table class handles individual league table data.
* *
* @class SP_League_Table * @class SP_League_Table
* @version 2.7 * @version 2.7.9
* @package SportsPress/Classes * @package SportsPress/Classes
* @category Class * @category Class
* @author ThemeBoy * @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress player list class handles individual player list data. * The SportsPress player list class handles individual player list data.
* *
* @class SP_Player_List * @class SP_Player_List
* @version 2.7.5 * @version 2.7.9
* @package SportsPress/Classes * @package SportsPress/Classes
* @category Class * @category Class
* @author ThemeBoy * @author ThemeBoy

View File

@@ -7,7 +7,7 @@
* @author ThemeBoy * @author ThemeBoy
* @category Core * @category Core
* @package SportsPress/Functions * @package SportsPress/Functions
* @version 2.7 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -7,7 +7,7 @@
* @author ThemeBoy * @author ThemeBoy
* @category Core * @category Core
* @package ThemeBoy/Functions * @package ThemeBoy/Functions
* @version 2.6 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -3,8 +3,8 @@ Contributors: ThemeBoy, brianmiyaji, aylaview, savvasha, nabil_kadimi, rochester
Tags: calendars, club, club management, esports, events, fixtures, leagues, league management, sports, sports club, sports data, team rosters Tags: calendars, club, club management, esports, events, fixtures, leagues, league management, sports, sports club, sports data, team rosters
Donate link: http://tboy.co/donate Donate link: http://tboy.co/donate
Requires at least: 3.8 Requires at least: 3.8
Tested up to: 5.7 Tested up to: 5.8.1
Stable tag: 2.7.8 Stable tag: 2.7.9
License: GPLv3 License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -240,6 +240,20 @@ When you upgrade to one of the SportsPress Pro licenses, you can simply activate
== Changelog == == Changelog ==
= 2.7.9 =
* Tweak - Add support for event format in REST API.
* Tweak - Add "Order" and "Order by" selection fields for countdown widget.
* Tweak - Add option to display event status in countdown widget.
* Tweak - Add ability to filter events by format in calendar template.
* Fix - Reverse order not applying to teams in event lists.
* Fix - XSS issues in events admin page.
* Fix - Filtering based on format for event blocks.
* Fix - Last week and next week filter not applying to player lists.
* Fix - Deselecting a selected team in settings.
* Fix - PHP 8.0 deprecated warnings.
* Localization - Add nationalities and flags for French Guiana, French Polynesia, Guadeloupe, Greenland, Martinique, Reunion, and Sint Maarten.
= 2.7.8 = = 2.7.8 =
* Fix - Event results, box scores, and players stats not updating via REST API. * Fix - Event results, box scores, and players stats not updating via REST API.

View File

@@ -3,11 +3,11 @@
* Plugin Name: SportsPress * Plugin Name: SportsPress
* Plugin URI: http://themeboy.com/sportspress/ * Plugin URI: http://themeboy.com/sportspress/
* Description: Manage your club and its players, staff, events, league tables, and player lists. * Description: Manage your club and its players, staff, events, league tables, and player lists.
* Version: 2.7.8 * Version: 2.7.9
* Author: ThemeBoy * Author: ThemeBoy
* Author URI: http://themeboy.com * Author URI: http://themeboy.com
* Requires at least: 3.8 * Requires at least: 3.8
* Tested up to: 5.7 * Tested up to: 5.8.1
* *
* Text Domain: sportspress * Text Domain: sportspress
* Domain Path: /languages/ * Domain Path: /languages/
@@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) :
* Main SportsPress Class * Main SportsPress Class
* *
* @class SportsPress * @class SportsPress
* @version 2.7.8 * @version 2.7.9
*/ */
final class SportsPress { final class SportsPress {
/** /**
* @var string * @var string
*/ */
public $version = '2.7.8'; public $version = '2.7.9';
/** /**
* @var SportsPress The single instance of the class * @var SportsPress The single instance of the class

View File

@@ -4,7 +4,7 @@
* *
* @author ThemeBoy * @author ThemeBoy
* @package SportsPress/Templates * @package SportsPress/Templates
* @version 2.7.1 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
* *
* @author ThemeBoy * @author ThemeBoy
* @package SportsPress/Templates * @package SportsPress/Templates
* @version 2.7.3 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
* *
* @author ThemeBoy * @author ThemeBoy
* @package SportsPress/Templates * @package SportsPress/Templates
* @version 2.8.0 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
* *
* @author ThemeBoy * @author ThemeBoy
* @package SportsPress/Templates * @package SportsPress/Templates
* @version 2.7.5 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
* *
* @author ThemeBoy * @author ThemeBoy
* @package SportsPress/Templates * @package SportsPress/Templates
* @version 2.6 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
* *
* @author ThemeBoy * @author ThemeBoy
* @package SportsPress/Templates * @package SportsPress/Templates
* @version 2.6.8 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
* *
* @author ThemeBoy * @author ThemeBoy
* @package SportsPress/Templates * @package SportsPress/Templates
* @version 2.7.1 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
* *
* @author ThemeBoy * @author ThemeBoy
* @package SportsPress/Templates * @package SportsPress/Templates
* @version 2.6 * @version 2.7.9
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly