diff --git a/assets/css/admin.css b/assets/css/admin.css index ff1d5b8d..ada2c019 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -1026,6 +1026,7 @@ table.sp-status-table td mark.yes { display: inline; } .about-sportspress-wrap .sp-welcome-logo img { + width: auto; border: none; } .about-sportspress-wrap .sp-about-text { diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php index 4c732fa1..3a3eedfd 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php +++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-calendar-columns.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 2.5 + * @version 2.6.11 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/class-sp-ajax.php b/includes/class-sp-ajax.php index 116a7ecc..9371b49f 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.9 + * @version 2.6.11 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-event.php b/includes/class-sp-event.php index 9e936cb9..9c934e7c 100644 --- a/includes/class-sp-event.php +++ b/includes/class-sp-event.php @@ -5,7 +5,7 @@ * The SportsPress event class handles individual event data. * * @class SP_Event - * @version 2.6.9 + * @version 2.6.11 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-post-types.php b/includes/class-sp-post-types.php index d0f92759..c986f834 100644 --- a/includes/class-sp-post-types.php +++ b/includes/class-sp-post-types.php @@ -9,7 +9,7 @@ if ( ! defined( 'ABSPATH' ) ) { * Registers post types and taxonomies * * @class SP_Post_types - * @version 2.6.8 + * @version 2.6.11 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/modules/sportspress-calendars.php b/modules/sportspress-calendars.php index d7aa468e..36f39690 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.8 +Version: 2.6.11 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Calendars' ) ) : * Main SportsPress Calendars Class * * @class SportsPress_Calendars - * @version 2.6.8 + * @version 2.6.11 */ 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.8' ); + define( 'SP_CALENDARS_VERSION', '2.6.11' ); if ( !defined( 'SP_CALENDARS_URL' ) ) define( 'SP_CALENDARS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-league-tables.php b/modules/sportspress-league-tables.php index 0cac1116..9ce980bb 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.4 +Version: 2.6.11 */ // 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.4 + * @version 2.6.11 */ 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.4' ); + define( 'SP_LEAGUE_TABLES_VERSION', '2.6.11' ); 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 93cb7e32..4779410d 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 +Version: 2.6.11 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Officials' ) ) : * Main SportsPress Officials Class * * @class SportsPress_Officials - * @version 2.6 + * @version 2.6.11 */ 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' ); + define( 'SP_OFFICIALS_VERSION', '2.6.11' ); if ( !defined( 'SP_OFFICIALS_URL' ) ) define( 'SP_OFFICIALS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-player-lists.php b/modules/sportspress-player-lists.php index de7d6c82..992e007f 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.1.4 +Version: 2.6.11 */ // 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.1.4 + * @version 2.6.11 */ 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.1.4' ); + define( 'SP_PLAYER_LISTS_VERSION', '2.6.11' ); if ( !defined( 'SP_PLAYER_LISTS_URL' ) ) define( 'SP_PLAYER_LISTS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/readme.txt b/readme.txt index 2fc4bca2..80e4af47 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: 4.9 -Stable tag: 2.6.10 +Tested up to: 5.0 +Stable tag: 2.6.11 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -237,6 +237,14 @@ When you upgrade to one of the SportsPress Pro licenses, you can simply activate == Changelog == += 2.6.11 = +* Tweak - Apply reverse teams setting to event blocks. +* Tweak - Add zero before days in countdown when there are less than 10 days to go. +* Fix - Venue address not setting correctly. +* Fix - RTL language support for first column in tables. +* Fix - PHP warnings for various static functions. +* Fix - Custom post types displaying blank screen in admin when Gutenberg is active. + = 2.6.10 = * Tweak - Apply reverse teams settings to logos. * Fix - Statistics doubling in player lists when player is assigned to a team. diff --git a/sportspress.php b/sportspress.php index 9c5f3fbe..8be81b69 100644 --- a/sportspress.php +++ b/sportspress.php @@ -3,11 +3,11 @@ * 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.10 + * Version: 2.6.11 * Author: ThemeBoy * Author URI: http://themeboy.com * Requires at least: 3.8 - * Tested up to: 4.9 + * Tested up to: 5.0 * * Text Domain: sportspress * Domain Path: /languages/ @@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) : * Main SportsPress Class * * @class SportsPress - * @version 2.6.10 + * @version 2.6.11 */ final class SportsPress { /** * @var string */ - public $version = '2.6.10'; + public $version = '2.6.11'; /** * @var SportsPress The single instance of the class diff --git a/templates/countdown.php b/templates/countdown.php index 396fa700..556a0ef9 100644 --- a/templates/countdown.php +++ b/templates/countdown.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.6.9 + * @version 2.6.11 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-blocks.php b/templates/event-blocks.php index de7c0072..8c83aa6b 100644 --- a/templates/event-blocks.php +++ b/templates/event-blocks.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.6.9 + * @version 2.6.11 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-list.php b/templates/event-list.php index 49bc83da..95175d3f 100644 --- a/templates/event-list.php +++ b/templates/event-list.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.6.9 + * @version 2.6.11 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-performance-table.php b/templates/event-performance-table.php index c313c24f..86cb5a82 100644 --- a/templates/event-performance-table.php +++ b/templates/event-performance-table.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 2.5.5 + * @version 2.6.11 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly