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' ) . '