Tag version 2.2

This commit is contained in:
Brian Miyaji
2017-01-12 18:03:07 +11:00
parent 0e94e4e248
commit 71b1573363
59 changed files with 113 additions and 75 deletions

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 2.1.6
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 2.1
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* The SportsPress admin sports class stores preset sport data.
*
* @class SP_Admin_Sports
* @version 2.1.6
* @version 2.2
* @package SportsPress/Admin
* @category Class
* @author ThemeBoy

View File

@@ -9,7 +9,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 2.1.6
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -10,7 +10,7 @@ if ( ! defined( 'ABSPATH' ) ) {
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 2.1
* @version 2.2
*/
class SP_Admin {

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Post_Types
* @version 1.9
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 2.1.7
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 2.1
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 2.1.6
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 2.1.6
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 2.1.5
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 1.9
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 2.1.6
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 2.1.3
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 2.0
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 1.9.7
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 1.9.7
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 2.1.6
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 1.9.17
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* The SportsPress REST API class handles all API-related hooks.
*
* @class SP_REST_API
* @version 2.1.5
* @version 2.2
* @package SportsPress/Classes
* @category Class
* @package SportsPress/API

View File

@@ -5,7 +5,7 @@
* The SportsPress calendar class handles individual calendar data.
*
* @class SP_Calendar
* @version 2.1.3
* @version 2.2
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress countries class stores continent/country data.
*
* @class SP_Countries
* @version 1.8
* @version 2.2
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress event class handles individual event data.
*
* @class SP_Event
* @version 2.1.6
* @version 2.2
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -3,7 +3,7 @@
* Handle frontend forms
*
* @class SP_Frontend_Scripts
* @version 2.0.11
* @version 2.2
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Classes
* @version 2.1.4
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* The SportsPress league table class handles individual league table data.
*
* @class SP_League_Table
* @version 2.0.13
* @version 2.2
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress modules class stores available modules.
*
* @class SP_Modules
* @version 2.0
* @version 2.2
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress player list class handles individual player list data.
*
* @class SP_Player_List
* @version 2.1.6
* @version 2.2
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress player class handles individual player data.
*
* @class SP_Player
* @version 2.1.6
* @version 2.2
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -9,7 +9,7 @@ if ( ! defined( 'ABSPATH' ) ) {
* Registers post types and taxonomies
*
* @class SP_Post_types
* @version 2.1
* @version 2.2
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress templates class stores template layout data.
*
* @class SP_Templates
* @version 2.1.4
* @version 2.2
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -7,7 +7,7 @@
* @author ThemeBoy
* @category Core
* @package SportsPress/Functions
* @version 2.0
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -7,7 +7,7 @@
* @author ThemeBoy
* @category Core
* @package SportsPress/Functions
* @version 2.1.6
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -7,7 +7,7 @@
* @author ThemeBoy
* @category Core
* @package SportsPress/Functions
* @version 2.1.4
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -7,7 +7,7 @@
* @author ThemeBoy
* @category Core
* @package SportsPress/Functions
* @version 2.1.4
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
Description: Add an admin bar link to SportsPress.
Author: ThemeBoy
Author URI: http://themeboy.com/
Version: 1.9.14
Version: 2.2
*/
// Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Admin_Bar' ) ) :
* Main SportsPress Admin Bar Class
*
* @class SportsPress_Admin_Bar
* @version 1.9.14
* @version 2.2
*/
class SportsPress_Admin_Bar {
@@ -36,7 +36,7 @@ class SportsPress_Admin_Bar {
*/
private function define_constants() {
if ( !defined( 'SP_ADMIN_BAR_VERSION' ) )
define( 'SP_ADMIN_BAR_VERSION', '1.9.14' );
define( 'SP_ADMIN_BAR_VERSION', '2.2' );
if ( !defined( 'SP_ADMIN_BAR_URL' ) )
define( 'SP_ADMIN_BAR_URL', plugin_dir_url( __FILE__ ) );

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.1.7
Version: 2.2
*/
// 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.1.7
* @version 2.2
*/
class SportsPress_Bulk_Actions {
@@ -39,7 +39,7 @@ class SportsPress_Bulk_Actions {
*/
private function define_constants() {
if ( !defined( 'SP_BULK_ACTIONS_VERSION' ) )
define( 'SP_BULK_ACTIONS_VERSION', '2.1.7' );
define( 'SP_BULK_ACTIONS_VERSION', '2.2' );
if ( !defined( 'SP_BULK_ACTIONS_URL' ) )
define( 'SP_BULK_ACTIONS_URL', plugin_dir_url( __FILE__ ) );

View File

@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
Description: Add event calendars to SportsPress.
Author: ThemeBoy
Author URI: http://themeboy.com/
Version: 2.0.7
Version: 2.2
*/
// Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Calendars' ) ) :
* Main SportsPress Calendars Class
*
* @class SportsPress_Calendars
* @version 2.0.7
* @version 2.2
*/
class SportsPress_Calendars {
@@ -51,7 +51,7 @@ class SportsPress_Calendars {
*/
private function define_constants() {
if ( !defined( 'SP_CALENDARS_VERSION' ) )
define( 'SP_CALENDARS_VERSION', '2.0.7' );
define( 'SP_CALENDARS_VERSION', '2.2' );
if ( !defined( 'SP_CALENDARS_URL' ) )
define( 'SP_CALENDARS_URL', plugin_dir_url( __FILE__ ) );

View File

@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
Description: Add vector performance icons to SportsPress.
Author: ThemeBoy
Author URI: http://themeboy.com/
Version: 2.1
Version: 2.2
*/
// Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Icons' ) ) :
* Main SportsPress Icons Class
*
* @class SportsPress_Icons
* @version 2.1
* @version 2.2
*/
class SportsPress_Icons {
@@ -48,7 +48,7 @@ class SportsPress_Icons {
*/
private function define_constants() {
if ( !defined( 'SP_ICONS_VERSION' ) )
define( 'SP_ICONS_VERSION', '2.1' );
define( 'SP_ICONS_VERSION', '2.2' );
if ( !defined( 'SP_ICONS_URL' ) )
define( 'SP_ICONS_URL', plugin_dir_url( __FILE__ ) );

View File

@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
Description: Add league tables to SportsPress.
Author: ThemeBoy
Author URI: http://themeboy.com/
Version: 2.1.4
Version: 2.2
*/
// 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.1.4
* @version 2.2
*/
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.1.4' );
define( 'SP_LEAGUE_TABLES_VERSION', '2.2' );
if ( !defined( 'SP_LEAGUE_TABLES_URL' ) )
define( 'SP_LEAGUE_TABLES_URL', plugin_dir_url( __FILE__ ) );

View File

@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
Description: Add frontend styles to SportsPress.
Author: ThemeBoy
Author URI: http://themeboy.com/
Version: 2.1.7
Version: 2.2
*/
// Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Style' ) ) :
* Main SportsPress Style Class
*
* @class SportsPress_Style
* @version 2.1.7
* @version 2.2
*/
class SportsPress_Style {
@@ -43,7 +43,7 @@ class SportsPress_Style {
*/
private function define_constants() {
if ( !defined( 'SP_STYLE_VERSION' ) )
define( 'SP_STYLE_VERSION', '2.1.7' );
define( 'SP_STYLE_VERSION', '2.2' );
if ( !defined( 'SP_STYLE_URL' ) )
define( 'SP_STYLE_URL', plugin_dir_url( __FILE__ ) );

View File

@@ -3,8 +3,8 @@ Contributors: ThemeBoy, brianmiyaji, aylaview, rochesterj
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.6
Stable tag: 2.1.7
Tested up to: 4.7
Stable tag: 2.2
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -50,6 +50,7 @@ More details about each feature are available on the [SportsPress Website](http:
= Free Extensions =
* [SportsPress for Baseball](https://wordpress.org/plugins/sportspress-for-baseball/)
* [SportsPress for Basketball](https://wordpress.org/plugins/sportspress-for-basketball/)
* [SportsPress for Cricket](https://wordpress.org/plugins/sportspress-for-cricket/)
* [SportsPress for Football (Soccer)](https://wordpress.org/plugins/sportspress-for-soccer/)
* [SportsPress for Golf](https://wordpress.org/plugins/sportspress-for-golf/)
@@ -223,6 +224,7 @@ Limitations? Don't worry, there are no limitations to the number of events, play
The current modules that are available exclusively to SportsPress Pro are:
* Tournaments: Create and display tournaments in a bracket/knockout cup format.
* Timelines: Display a visual timeline of player performance in events.
* Scoreboard: Display multiple event results in a horizontal scoreboard.
* Sponsors: Add your sponsors on your website and track each of their clicks and impressions.
* Staff Directories: Show contact information of your key personnel so people know who to get in touch with.
@@ -239,6 +241,42 @@ When you upgrade to one of the SportsPress Pro licenses, you can simply activate
== Changelog ==
= 2.2 =
* Feature - New frontend stylesheet for third-party themes.
* Feature - New chronological streak format in league tables.
* Feature - Head to head tiebreaker option in league tables.
* Feature - Add option to select number of players in player lists.
* Feature - Quick edit player's team and squad number.
* Feature - Bulk edit players' past and current teams.
* Feature - Taxonomies added to REST API.
* Feature - Ability to display event history in player profiles.
* Feature - Event list format option added to player and team events.
* Feature - Option to record minutes for specific statistics.
* Feature - Time format added for racing and timed sports.
* Feature - Dedicated option to redirect team pages to site URL.
* Feature - Bulk action to generate team calendars.
* Feature - Automatically adjust played minutes based on substitution times.
* Feature - Match day column option added to event lists.
* Tweak - Remove event limit in calendars.
* Tweak - Allow player squad number to be zero.
* Tweak - Enable mixing performance and statistic column order.
* Tweak - Filter player statistic equations by offense and defense.
* Tweak - System status hidden unless in debug mode.
* Tweak - Move event list column options to sidebar.
* Tweak - Return zero instead of error if dividing by zero.
* Tweak - Always display performance icons in admin.
* Tweak - Add preview notation in event blocks by default.
* Tweak - Single player performance name option added for hover text in icons mode.
* Fix - Player list precision number format error.
* Fix - Player list adjustments for existing values.
* Fix - Hide empty positions in player lists and galleries.
* Fix - Import button selectors disappeared in WordPress 4.7.
* Fix - Substitution time missing parentheses.
* Fix - Staff for home team not being displayed in events.
* Fix - Enable output of time and results without team names in home/away mode.
* Fix - Prevent totals override in box scores.
* Localization - Add Gibraltar nationality option and flag.
= 2.1.7 =
* Fix - Activation error on older versions of PHP.

View File

@@ -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.1.7
* Version: 2.2
* Author: ThemeBoy
* Author URI: http://themeboy.com
* Requires at least: 3.8
* Tested up to: 4.6
* Tested up to: 4.7
*
* Text Domain: sportspress
* Domain Path: /languages/
@@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) :
* Main SportsPress Class
*
* @class SportsPress
* @version 2.1.7
* @version 2.2
*/
final class SportsPress {
/**
* @var string
*/
public $version = '2.1.7';
public $version = '2.2';
/**
* @var SportsPress The single instance of the class

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.0.13
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.1
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.1
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.0
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.1.2
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.1.3
* @version 2.2
*/
?>
<div class="sp-template sp-template-event-logos sp-template-event-blocks sp-template-event-logos-block">

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.1
* @version 2.2
*/
$team_logos = array();

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.1.3
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.1.6
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.1.6
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.1.6
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.1.7
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.9.13
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.9.13
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.1.3
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 2.0
* @version 2.2
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly