From d09084ea1ce0748fc49bbf7ce876ab94620d4fb7 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Sun, 27 Dec 2020 12:30:47 +0900 Subject: [PATCH] Tag version 2.7.6 --- changelog.txt | 4 ++++ .../admin/post-types/class-sp-admin-cpt-event.php | 2 +- modules/sportspress-bulk-actions.php | 12 ++++++------ readme.txt | 6 +++++- sportspress.php | 6 +++--- 5 files changed, 19 insertions(+), 11 deletions(-) diff --git a/changelog.txt b/changelog.txt index df9e1484..da1cf8d2 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,9 @@ == SportsPress Changelog == += 2.7.6 = +* Feature - Add ability to bulk set events as on time. +* Fix - Players in events not being filtered by team. + = 2.7.5 = * Tweak - Add ability to filter events by team and match day in one query. * Tweak - Improve performance by updating leaflet script and only loading when required. diff --git a/includes/admin/post-types/class-sp-admin-cpt-event.php b/includes/admin/post-types/class-sp-admin-cpt-event.php index 3ebf6c93..ee6f5724 100644 --- a/includes/admin/post-types/class-sp-admin-cpt-event.php +++ b/includes/admin/post-types/class-sp-admin-cpt-event.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Post_Types - * @version 2.7.5 + * @version 2.7.6 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/modules/sportspress-bulk-actions.php b/modules/sportspress-bulk-actions.php index f50edd77..7467c293 100644 --- a/modules/sportspress-bulk-actions.php +++ b/modules/sportspress-bulk-actions.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Add bulk actions to SportsPress. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 2.7 +Version: 2.7.6 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Bulk_Actions' ) ) : * Main SportsPress Bulk Actions Class * * @class SportsPress_Bulk_Actions - * @version 2.7 + * @version 2.7.6 */ class SportsPress_Bulk_Actions { @@ -45,7 +45,7 @@ class SportsPress_Bulk_Actions { */ private function define_constants() { if ( !defined( 'SP_BULK_ACTIONS_VERSION' ) ) - define( 'SP_BULK_ACTIONS_VERSION', '2.7' ); + define( 'SP_BULK_ACTIONS_VERSION', '2.7.6' ); if ( !defined( 'SP_BULK_ACTIONS_URL' ) ) define( 'SP_BULK_ACTIONS_URL', plugin_dir_url( __FILE__ ) ); @@ -97,7 +97,7 @@ class SportsPress_Bulk_Actions { public function event_actions( $bulk_actions ) { $bulk_actions['sp_postpone'] = __( 'Postpone events', 'sportspress' ); $bulk_actions['sp_cancel'] = __( 'Cancel events', 'sportspress' ); - $bulk_actions['sp_ok'] = __( 'Set events On Time', 'sportspress' ); + $bulk_actions['sp_ok'] = __( 'Set events as on time', 'sportspress' ); return $bulk_actions; } @@ -164,8 +164,8 @@ class SportsPress_Bulk_Actions { $count = intval( $_REQUEST['sp_bulk_ok_events'] ); printf( '

' . - _n( 'Set %s event as On Time.', - 'Set %s event as On Time.', + _n( 'Set %s event as on time.', + 'Set %s event as on time.', $count, 'sportspress' ) . '

', $count ); diff --git a/readme.txt b/readme.txt index 422cff85..36795869 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: 5.6 -Stable tag: 2.7.5 +Stable tag: 2.7.6 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -240,6 +240,10 @@ When you upgrade to one of the SportsPress Pro licenses, you can simply activate == Changelog == += 2.7.6 = +* Feature - Add ability to bulk set events as on time. +* Fix - Players in events not being filtered by team. + = 2.7.5 = * Tweak - Add ability to filter events by team and match day in one query. * Tweak - Improve performance by updating leaflet script and only loading when required. diff --git a/sportspress.php b/sportspress.php index 55c549d1..1279513f 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.7.5 + * Version: 2.7.6 * 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.7.5 + * @version 2.7.6 */ final class SportsPress { /** * @var string */ - public $version = '2.7.5'; + public $version = '2.7.6'; /** * @var SportsPress The single instance of the class