Initialize player list columns fix #24

This commit is contained in:
Brian Miyaji
2014-06-01 19:43:08 +10:00
parent d571a7846d
commit ce8ce24cb4
3 changed files with 20 additions and 11 deletions

View File

@@ -5,7 +5,7 @@
* The SportsPress player list class handles individual player list data.
*
* @class SP_Player_List
* @version 0.8
* @version 1.0.2
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy
@@ -56,6 +56,9 @@ class SP_Player_List extends SP_Custom_Post {
$totals = array();
$placeholders = array();
// Initialize columns
$columns = array();
// Initialize streaks counter
$streaks = array();

View File

@@ -1,14 +1,14 @@
=== SportsPress - All-In-One League Management ===
=== SportsPress - All in One Sports Management ===
Contributors: ThemeBoy
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
Requires at least: 3.8
Tested up to: 3.9.1
Stable tag: 1.0.1
Stable tag: 1.0.2
License: GPLv3
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 ==
@@ -17,6 +17,7 @@ If youre looking to create a professional sports website, youve 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. 
= Features =
* Equation Builder
* Team Profiles
* League Tables
* Events (Fixtures & Results)
@@ -27,13 +28,15 @@ For serious teams and athletes, ThemeBoy offers a series of premium SportsPres
* Season Archives
* Venue Information & Maps
* 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 =
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!
@@ -137,6 +140,9 @@ Yes, CSV importers are included with the plugin. Go to Tools > Import and choose
== Changelog ==
= 1.0.2 =
* Fix - Initialize columns array in player list class.
= 1.0.1 =
* Fix - Conditional install error relating to post types function.

View File

@@ -1,11 +1,11 @@
<?php
/**
* 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.
* Version: 1.0.1
* Version: 1.0.2
* Author: ThemeBoy
* Author URI: http://themeboy.com
* Author URI: http://themeboy.com/
* Requires at least: 3.8
* Tested up to: 3.9.1
*
@@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) :
* Main SportsPress Class
*
* @class SportsPress
* @version 1.0.1
* @version 1.0.2
*/
final class SportsPress {
/**
* @var string
*/
public $version = '1.0.1';
public $version = '1.0.2';
/**
* @var SporsPress The single instance of the class