Tag version 2.7.6

This commit is contained in:
Brian Miyaji
2020-12-27 12:30:47 +09:00
parent 9740e41687
commit d09084ea1c
5 changed files with 19 additions and 11 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -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( '<div id="message" class="updated notice notice-success is-dismissible"><p>' .
_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'
) . '</p><button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>', $count );

View File

@@ -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.

View File

@@ -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