Initialize player list columns fix #24
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
* The SportsPress player list class handles individual player list data.
|
* The SportsPress player list class handles individual player list data.
|
||||||
*
|
*
|
||||||
* @class SP_Player_List
|
* @class SP_Player_List
|
||||||
* @version 0.8
|
* @version 1.0.2
|
||||||
* @package SportsPress/Classes
|
* @package SportsPress/Classes
|
||||||
* @category Class
|
* @category Class
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
@@ -56,6 +56,9 @@ class SP_Player_List extends SP_Custom_Post {
|
|||||||
$totals = array();
|
$totals = array();
|
||||||
$placeholders = array();
|
$placeholders = array();
|
||||||
|
|
||||||
|
// Initialize columns
|
||||||
|
$columns = array();
|
||||||
|
|
||||||
// Initialize streaks counter
|
// Initialize streaks counter
|
||||||
$streaks = array();
|
$streaks = array();
|
||||||
|
|
||||||
|
|||||||
16
readme.txt
16
readme.txt
@@ -1,14 +1,14 @@
|
|||||||
=== SportsPress - All-In-One League Management ===
|
=== SportsPress - All in One Sports Management ===
|
||||||
Contributors: ThemeBoy
|
Contributors: ThemeBoy
|
||||||
Tags: sport, sports, sports journalism, teams, team management, fixtures, results, standings, league tables, leagues, reporting, themeboy, wordpress sports, configurable
|
Tags: sport, sports, sports journalism, teams, team management, fixtures, results, standings, league tables, leagues, reporting, themeboy, wordpress sports, configurable
|
||||||
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=support@themeboy.com&item_name=Donation+for+SportsPress
|
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=support@themeboy.com&item_name=Donation+for+SportsPress
|
||||||
Requires at least: 3.8
|
Requires at least: 3.8
|
||||||
Tested up to: 3.9.1
|
Tested up to: 3.9.1
|
||||||
Stable tag: 1.0.1
|
Stable tag: 1.0.2
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
||||||
|
|
||||||
SportsPress is a feature rich, extendable league management plugin. It is designed to be extremely flexible because every sport and team is unique.
|
SportsPress is a feature rich, extendable league management plugin. Designed to be extremely flexible because every sport and team is unique.
|
||||||
|
|
||||||
== Description ==
|
== Description ==
|
||||||
|
|
||||||
@@ -17,6 +17,7 @@ If you’re looking to create a professional sports website, you’ve come to t
|
|||||||
For serious teams and athletes, ThemeBoy offers a series of premium SportsPress themes and extensions to give you even more sports functionality for your website.
|
For serious teams and athletes, ThemeBoy offers a series of premium SportsPress themes and extensions to give you even more sports functionality for your website.
|
||||||
|
|
||||||
= Features =
|
= Features =
|
||||||
|
* Equation Builder
|
||||||
* Team Profiles
|
* Team Profiles
|
||||||
* League Tables
|
* League Tables
|
||||||
* Events (Fixtures & Results)
|
* Events (Fixtures & Results)
|
||||||
@@ -27,13 +28,15 @@ For serious teams and athletes, ThemeBoy offers a series of premium SportsPres
|
|||||||
* Season Archives
|
* Season Archives
|
||||||
* Venue Information & Maps
|
* Venue Information & Maps
|
||||||
* Statistics & League Table Columns Configuration
|
* Statistics & League Table Columns Configuration
|
||||||
* Import Events, Teams, and Players from CSV Files
|
* Import Events, Teams, Players, and Staff from CSV Files
|
||||||
|
|
||||||
|
More details about each feature are available on the [ThemeBoy Website](http://themeboy.com/sportspress/).
|
||||||
|
|
||||||
= Premium Extensions =
|
= Premium Extensions =
|
||||||
|
|
||||||
Looking for more league functionality? ThemeBoy offers a range of [SportsPress extensions](http://themeboy.com/plugins/) to add more features to your sports website.
|
Looking for more league functionality? ThemeBoy offers a range of [SportsPress extensions](http://themeboy.com/plugins/) to add more features to your sports website.
|
||||||
|
|
||||||
= Get SportsPress in your language! =
|
= Get SportsPress in your language =
|
||||||
|
|
||||||
We have a wonderful group of users who have contributed over 30 languages to the SportsPress plugin, but the community could always use a little more help. If you speak another language and feel confident in translating, please join our Transfix project to contribute to your language!
|
We have a wonderful group of users who have contributed over 30 languages to the SportsPress plugin, but the community could always use a little more help. If you speak another language and feel confident in translating, please join our Transfix project to contribute to your language!
|
||||||
|
|
||||||
@@ -137,6 +140,9 @@ Yes, CSV importers are included with the plugin. Go to Tools > Import and choose
|
|||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 1.0.2 =
|
||||||
|
* Fix - Initialize columns array in player list class.
|
||||||
|
|
||||||
= 1.0.1 =
|
= 1.0.1 =
|
||||||
* Fix - Conditional install error relating to post types function.
|
* Fix - Conditional install error relating to post types function.
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Plugin Name: SportsPress
|
* Plugin Name: SportsPress
|
||||||
* Plugin URI: http://wordpress.org/plugins/sportspress
|
* Plugin URI: http://themeboy.com/sportspress/
|
||||||
* Description: Manage your club and its players, staff, events, league tables, and player lists.
|
* Description: Manage your club and its players, staff, events, league tables, and player lists.
|
||||||
* Version: 1.0.1
|
* Version: 1.0.2
|
||||||
* Author: ThemeBoy
|
* Author: ThemeBoy
|
||||||
* Author URI: http://themeboy.com
|
* Author URI: http://themeboy.com/
|
||||||
* Requires at least: 3.8
|
* Requires at least: 3.8
|
||||||
* Tested up to: 3.9.1
|
* Tested up to: 3.9.1
|
||||||
*
|
*
|
||||||
@@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) :
|
|||||||
* Main SportsPress Class
|
* Main SportsPress Class
|
||||||
*
|
*
|
||||||
* @class SportsPress
|
* @class SportsPress
|
||||||
* @version 1.0.1
|
* @version 1.0.2
|
||||||
*/
|
*/
|
||||||
final class SportsPress {
|
final class SportsPress {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $version = '1.0.1';
|
public $version = '1.0.2';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var SporsPress The single instance of the class
|
* @var SporsPress The single instance of the class
|
||||||
|
|||||||
Reference in New Issue
Block a user