From 843e84b5adada9838956573e2acbb0ca1633f7cd Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Wed, 2 Mar 2016 23:24:35 +1100 Subject: [PATCH] Tag version 1.9.19 --- includes/admin/class-sp-admin-sports.php | 2 +- .../meta-boxes/class-sp-meta-box-equation.php | 2 +- .../class-sp-meta-box-event-performance.php | 2 +- .../class-sp-meta-box-event-teams.php | 2 +- .../class-sp-meta-box-performance-details.php | 2 +- .../admin/settings/class-sp-settings-events.php | 2 +- includes/class-sp-event.php | 2 +- includes/class-sp-rest-api.php | 2 +- includes/sp-api-functions.php | 2 +- includes/sp-core-functions.php | 2 +- modules/sportspress-birthdays.php | 6 +++--- modules/sportspress-lazy-loading.php | 4 ++-- readme.txt | 17 +++++++++++++++-- sportspress.php | 10 +++++++--- templates/birthdays.php | 2 +- templates/event-details.php | 2 +- templates/event-performance-table-combined.php | 2 +- templates/event-performance-table.php | 2 +- templates/event-performance.php | 2 +- 19 files changed, 42 insertions(+), 25 deletions(-) diff --git a/includes/admin/class-sp-admin-sports.php b/includes/admin/class-sp-admin-sports.php index 954c23a0..4f07b883 100644 --- a/includes/admin/class-sp-admin-sports.php +++ b/includes/admin/class-sp-admin-sports.php @@ -5,7 +5,7 @@ * The SportsPress admin sports class stores preset sport data. * * @class SP_Admin_Sports - * @version 1.9 + * @version 1.9.19 * @package SportsPress/Admin * @category Class * @author ThemeBoy diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php index cd9bf29a..27e59645 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php +++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-equation.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.9.6 + * @version 1.9.19 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php index 825a52ca..3f9c0deb 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php +++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.9.13 + * @version 1.9.19 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php index 0ea80cfa..57e4d39d 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php +++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-teams.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.9 + * @version 1.9.19 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php index caa9d8da..a7464234 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php +++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-performance-details.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin/Meta_Boxes - * @version 1.9 + * @version 1.9.19 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/admin/settings/class-sp-settings-events.php b/includes/admin/settings/class-sp-settings-events.php index 7133f53f..013a524f 100644 --- a/includes/admin/settings/class-sp-settings-events.php +++ b/includes/admin/settings/class-sp-settings-events.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Admin * @package SportsPress/Admin - * @version 1.9.6 + * @version 1.9.19 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/class-sp-event.php b/includes/class-sp-event.php index 5c13a192..b0457c55 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 1.9 + * @version 1.9.19 * @package SportsPress/Classes * @category Class * @author ThemeBoy diff --git a/includes/class-sp-rest-api.php b/includes/class-sp-rest-api.php index a558c9ae..5f4538c6 100644 --- a/includes/class-sp-rest-api.php +++ b/includes/class-sp-rest-api.php @@ -5,7 +5,7 @@ * The SportsPress REST API class handles all API-related hooks. * * @class SP_REST_API - * @version 2.0 + * @version 1.9.19 * @package SportsPress/Classes * @category Class * @package SportsPress/API diff --git a/includes/sp-api-functions.php b/includes/sp-api-functions.php index d8e0c3ac..2258977a 100644 --- a/includes/sp-api-functions.php +++ b/includes/sp-api-functions.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 1.9.4 + * @version 1.9.19 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/includes/sp-core-functions.php b/includes/sp-core-functions.php index e5268817..541619a7 100644 --- a/includes/sp-core-functions.php +++ b/includes/sp-core-functions.php @@ -7,7 +7,7 @@ * @author ThemeBoy * @category Core * @package SportsPress/Functions - * @version 1.9.13 + * @version 1.9.19 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/modules/sportspress-birthdays.php b/modules/sportspress-birthdays.php index 8d6e2e04..524faa58 100644 --- a/modules/sportspress-birthdays.php +++ b/modules/sportspress-birthdays.php @@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/ Description: Add birthdays to players and staff. Author: ThemeBoy Author URI: http://themeboy.com/ -Version: 1.6 +Version: 1.9.19 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Birthdays' ) ) : * Main SportsPress Birthdays Class * * @class SportsPress_Birthdays - * @version 1.6 + * @version 1.9.19 */ class SportsPress_Birthdays { @@ -42,7 +42,7 @@ class SportsPress_Birthdays { */ private function define_constants() { if ( !defined( 'SP_BIRTHDAYS_VERSION' ) ) - define( 'SP_BIRTHDAYS_VERSION', '1.6' ); + define( 'SP_BIRTHDAYS_VERSION', '1.9.19' ); if ( !defined( 'SP_BIRTHDAYS_URL' ) ) define( 'SP_BIRTHDAYS_URL', plugin_dir_url( __FILE__ ) ); diff --git a/modules/sportspress-lazy-loading.php b/modules/sportspress-lazy-loading.php index b5ee47b3..a3784072 100644 --- a/modules/sportspress-lazy-loading.php +++ b/modules/sportspress-lazy-loading.php @@ -5,7 +5,7 @@ Plugin URI: http://tboy.co/pro Description: Load players using Ajax to speed up the event edit screen. Author: ThemeBoy Author URI: http://themeboy.com -Version: 1.9 +Version: 1.9.19 */ // Exit if accessed directly @@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Lazy_Loading' ) ) : * Main SportsPress Lazy Loading Class * * @class SportsPress_Lazy_Loading - * @version 1.9 + * @version 1.9.19 */ class SportsPress_Lazy_Loading { diff --git a/readme.txt b/readme.txt index cece305e..3967bac8 100644 --- a/readme.txt +++ b/readme.txt @@ -1,10 +1,10 @@ === SportsPress - Manage Leagues & Sports Clubs === -Contributors: ThemeBoy, brianmiyaji, aylaview +Contributors: ThemeBoy, brianmiyaji, aylaview, rochesterj Tags: sport, sports, club, clubs, teams, statistics, stats, metrics, data, fixtures, results, standings, league tables, leagues, shortcodes, sports data, sports club, themeboy, esports, wordpress sports, equations, calculations, events, calendars, players, profiles, staff, seasons, countdowns, club management, football, nfl, footy, afl, baseball, basketball, cricket, darts, handball, hockey, netball, rugby, snooker, soccer, squash, tennis, volleyball, dota 2, league of legends, golf Donate link: http://tboy.co/donate Requires at least: 3.8 Tested up to: 4.4 -Stable tag: 1.9.15 +Stable tag: 1.9.19 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -237,6 +237,19 @@ When you upgrade to one of the SportsPress Pro licenses, you can simply activate == Changelog == += 1.9.19 = +* Feature - Add Birthdays module. +* Feature - Add Lazy Loading module. +* Feature - Add separate offense and defense categories to player performance and box score. +* Feature - Add format setting to player performance with the options Number and Text. +* Feature - Add option to show and hide date and time in events. +* Tweak - Improve compatibility between custom color settings and theme options. +* Tweak - Add light shade to substitute rows in box score. +* Tweak - Prevent box score section from appearing when event is set in the future. +* Fix - Display icon setting in editor. +* Fix - Empty variable button appearing in equation builder when equation is empty. +* Preset - Update cricket preset with batting and bowling categories. + = 1.9.15 = * Tweak - Add medium crop image size to ensure gallery images are square. * Tweak - Add shortcut icon to admin bar. diff --git a/sportspress.php b/sportspress.php index 0bef741b..2f58230a 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: 1.9.17 + * Version: 1.9.19 * 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 1.9.17 + * @version 1.9.19 */ final class SportsPress { /** * @var string */ - public $version = '1.9.17'; + public $version = '1.9.19'; /** * @var SportsPress The single instance of the class @@ -234,6 +234,9 @@ final class SportsPress { // WPML-related localization hooks include_once( 'includes/class-sp-wpml.php' ); + // REST API + //include_once( 'includes/class-sp-rest-api.php' ); + // TGMPA require_once dirname( __FILE__ ) . '/includes/libraries/class-tgm-plugin-activation.php'; } @@ -337,6 +340,7 @@ final class SportsPress { 'name' => 'SportsPress for Cricket', 'slug' => 'sportspress-for-cricket', 'required' => false, + 'version' => '1.0', ); break; case 'golf': diff --git a/templates/birthdays.php b/templates/birthdays.php index 41ba86da..072efaee 100644 --- a/templates/birthdays.php +++ b/templates/birthdays.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress_Birthdays - * @version 1.9 + * @version 1.9.19 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-details.php b/templates/event-details.php index 272790c7..a0308b8f 100644 --- a/templates/event-details.php +++ b/templates/event-details.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.9 + * @version 1.9.19 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-performance-table-combined.php b/templates/event-performance-table-combined.php index 7f582d35..6d82b809 100644 --- a/templates/event-performance-table-combined.php +++ b/templates/event-performance-table-combined.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.9 + * @version 1.9.19 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-performance-table.php b/templates/event-performance-table.php index 2d853aa6..9fb617bc 100644 --- a/templates/event-performance-table.php +++ b/templates/event-performance-table.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.9 + * @version 1.9.19 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/event-performance.php b/templates/event-performance.php index c981c9f3..654b6a5e 100644 --- a/templates/event-performance.php +++ b/templates/event-performance.php @@ -4,7 +4,7 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.9.6 + * @version 1.9.19 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly