Tag version 1.8.7

This commit is contained in:
Brian Miyaji
2015-07-17 16:09:38 +10:00
parent e849e3d308
commit 507f13e839
23 changed files with 72 additions and 40 deletions

View File

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

View File

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

View File

@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
* Handles taxonomies in admin * Handles taxonomies in admin
* *
* @class SP_Admin_Taxonomies * @class SP_Admin_Taxonomies
* @version 1.6.1 * @version 1.8.7
* @package SportsPress/Admin * @package SportsPress/Admin
* @category Class * @category Class
* @author ThemeBoy * @author ThemeBoy

View File

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

View File

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

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy * @author ThemeBoy
* @category Admin * @category Admin
* @package SportsPress/Admin * @package SportsPress/Admin
* @version 1.8.6 * @version 1.8.7
*/ */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -65,7 +65,7 @@ class SP_Settings_Modules extends SP_Settings_Page {
<p><?php _e( 'Get SportsPress Pro to get access to all modules. You can upgrade any time without losing any of your data.','sportspress' ); ?></p> <p><?php _e( 'Get SportsPress Pro to get access to all modules. You can upgrade any time without losing any of your data.','sportspress' ); ?></p>
<p class="sp-module-actions"> <p class="sp-module-actions">
<span><?php _e( 'Premium', 'sportspress' ); ?></span> <span><?php _e( 'Premium', 'sportspress' ); ?></span>
<a class="button button-primary" href="<?php echo apply_filters( 'sportspress_pro_url', 'http://tboy.co/pricing' ); ?>" target="_blank"><?php _e( 'Upgrade Now', 'sportspress' ); ?></a> <a class="button button-primary" href="<?php echo apply_filters( 'sportspress_pro_url', 'http://tboy.co/pro' ); ?>" target="_blank"><?php _e( 'Upgrade Now', 'sportspress' ); ?></a>
</p> </p>
</td></tr> </td></tr>
</tbody> </tbody>
@@ -182,9 +182,9 @@ class SP_Settings_Modules extends SP_Settings_Page {
<li><a href="http://tboy.co/forums" target="_blank"><?php _e( 'Support Forums', 'sportspress' ); ?></a></li> <li><a href="http://tboy.co/forums" target="_blank"><?php _e( 'Support Forums', 'sportspress' ); ?></a></li>
<li><a href="http://tboy.co/ideas" target="_blank"><?php _e( 'Feature Requests', 'sportspress' ); ?></a></li> <li><a href="http://tboy.co/ideas" target="_blank"><?php _e( 'Feature Requests', 'sportspress' ); ?></a></li>
<?php if ( class_exists( 'SportsPress_Pro' ) ) { ?> <?php if ( class_exists( 'SportsPress_Pro' ) ) { ?>
<li><a href="<?php echo apply_filters( 'sportspress_support_url', 'http://sportspresspro.com/support/' ); ?>" target="_blank"><?php _e( 'Premium Support', 'sportspress' ); ?></a></li> <li><a href="<?php echo apply_filters( 'sportspress_support_url', 'http://support.themeboy.com/' ); ?>" target="_blank"><?php _e( 'Premium Support', 'sportspress' ); ?></a></li>
<?php } else { ?> <?php } else { ?>
<li><a href="<?php echo apply_filters( 'sportspress_pro_url', 'http://tboy.co/pricing/' ); ?>" target="_blank"><span class="sp-desc-tip" title="<?php _e( 'Upgrade to Pro', 'sportspress' ); ?>"><?php _e( 'Premium Support', 'sportspress' ); ?></span></a></li> <li><a href="<?php echo apply_filters( 'sportspress_pro_url', 'http://tboy.co/pro' ); ?>" target="_blank"><span class="sp-desc-tip" title="<?php _e( 'Upgrade to Pro', 'sportspress' ); ?>"><?php _e( 'Premium Support', 'sportspress' ); ?></span></a></li>
<?php } ?> <?php } ?>
</ul> </ul>
<p><strong><i class="dashicons dashicons-share"></i> <?php _e( 'Connect', 'sportspress' ); ?></strong></p> <p><strong><i class="dashicons dashicons-share"></i> <?php _e( 'Connect', 'sportspress' ); ?></strong></p>

View File

@@ -5,7 +5,7 @@
* The SportsPress modules class stores available modules. * The SportsPress modules class stores available modules.
* *
* @class SP_Modules * @class SP_Modules
* @version 1.8.6 * @version 1.8.7
* @package SportsPress/Classes * @package SportsPress/Classes
* @category Class * @category Class
* @author ThemeBoy * @author ThemeBoy
@@ -33,14 +33,14 @@ class SP_Modules {
'label' => __( 'Match Stats', 'sportspress' ), 'label' => __( 'Match Stats', 'sportspress' ),
'class' => 'SportsPress_Match_Stats', 'class' => 'SportsPress_Match_Stats',
'icon' => 'sp-icon-statistics', 'icon' => 'sp-icon-statistics',
'link' => 'http://tboy.co/stats', 'link' => 'http://tboy.co/pro',
'desc' => __( 'Display head-to-head team comparison charts in events.', 'sportspress' ), 'desc' => __( 'Display head-to-head team comparison charts in events.', 'sportspress' ),
), ),
'tournaments' => array( 'tournaments' => array(
'label' => __( 'Tournaments', 'sportspress' ), 'label' => __( 'Tournaments', 'sportspress' ),
'class' => 'SportsPress_Tournaments', 'class' => 'SportsPress_Tournaments',
'icon' => 'sp-icon-tournament', 'icon' => 'sp-icon-tournament',
'link' => 'http://tboy.co/tournaments', 'link' => 'http://tboy.co/pro',
'desc' => __( 'Schedule tournaments and create interactive playoff brackets.', 'sportspress' ), 'desc' => __( 'Schedule tournaments and create interactive playoff brackets.', 'sportspress' ),
), ),
), ),
@@ -54,7 +54,7 @@ class SP_Modules {
'label' => __( 'Team Colors', 'sportspress' ), 'label' => __( 'Team Colors', 'sportspress' ),
'class' => 'SportsPress_Team_Colors', 'class' => 'SportsPress_Team_Colors',
'icon' => 'sp-icon-color', 'icon' => 'sp-icon-color',
'link' => 'http://tboy.co/colors', 'link' => 'http://tboy.co/pro',
'desc' => __( 'Create a custom color palette for each team.', 'sportspress' ), 'desc' => __( 'Create a custom color palette for each team.', 'sportspress' ),
), ),
), ),
@@ -68,14 +68,14 @@ class SP_Modules {
'label' => __( 'Birthdays', 'sportspress' ), 'label' => __( 'Birthdays', 'sportspress' ),
'class' => 'SportsPress_Birthdays', 'class' => 'SportsPress_Birthdays',
'icon' => 'sp-icon-cake', 'icon' => 'sp-icon-cake',
'link' => 'http://tboy.co/features', 'link' => 'http://tboy.co/pro',
'desc' => __( "Display each player's birthday and their current age.", 'sportspress' ), 'desc' => __( "Display each player's birthday and their current age.", 'sportspress' ),
), ),
'staff_directories' => array( 'staff_directories' => array(
'label' => __( 'Directories', 'sportspress' ), 'label' => __( 'Directories', 'sportspress' ),
'class' => 'SportsPress_Staff_Directories', 'class' => 'SportsPress_Staff_Directories',
'icon' => 'sp-icon-archive', 'icon' => 'sp-icon-archive',
'link' => 'http://tboy.co/directories', 'link' => 'http://tboy.co/pro',
'desc' => __( 'Organize and display staff in list and gallery layouts.', 'sportspress' ), 'desc' => __( 'Organize and display staff in list and gallery layouts.', 'sportspress' ),
), ),
), ),
@@ -89,16 +89,23 @@ class SP_Modules {
'label' => __( 'Branding', 'sportspress' ), 'label' => __( 'Branding', 'sportspress' ),
'class' => 'SportsPress_Branding', 'class' => 'SportsPress_Branding',
'icon' => 'sp-icon-sportspress', 'icon' => 'sp-icon-sportspress',
'link' => 'http://tboy.co/branding', 'link' => 'http://tboy.co/pro',
'desc' => __( 'Instantly rebrand the dashboard with your own logo and colors.', 'sportspress' ), 'desc' => __( 'Instantly rebrand the dashboard with your own logo and colors.', 'sportspress' ),
), ),
'duplicator' => array(
'label' => __( 'Duplicator', 'sportspress' ),
'class' => 'SportsPress_Duplicator',
'icon' => 'sp-icon-copy',
'link' => 'http://tboy.co/pro',
'desc' => __( 'Clone anything with just one click. Great for creating multiple events.', 'sportspress' ),
),
), ),
'other' => array( 'other' => array(
'twitter' => array( 'twitter' => array(
'label' => __( 'Twitter', 'sportspress' ), 'label' => __( 'Twitter', 'sportspress' ),
'class' => 'SportsPress_Twitter', 'class' => 'SportsPress_Twitter',
'action' => __( 'Tweet #SportsPress', 'sportspress' ), 'action' => __( 'Tweet #SportsPress', 'sportspress' ),
'link' => 'http://tboy.co/tweet', 'link' => 'http://tboy.co/pro',
'tip' => __( 'Help spread the word by tweeting with #SportsPress and get the Twitter module for free.', 'sportspress' ), 'tip' => __( 'Help spread the word by tweeting with #SportsPress and get the Twitter module for free.', 'sportspress' ),
'icon' => 'dashicons dashicons-twitter', 'icon' => 'dashicons dashicons-twitter',
'desc' => __( 'Add a Twitter feed to team, player, and staff pages.', 'sportspress' ), 'desc' => __( 'Add a Twitter feed to team, player, and staff pages.', 'sportspress' ),
@@ -107,18 +114,28 @@ class SP_Modules {
'label' => __( 'League Menu', 'sportspress' ), 'label' => __( 'League Menu', 'sportspress' ),
'class' => 'SportsPress_League_Menu', 'class' => 'SportsPress_League_Menu',
'icon' => 'sp-icon-menu', 'icon' => 'sp-icon-menu',
'link' => 'http://tboy.co/menu', 'link' => 'http://tboy.co/pro',
'desc' => __( 'Add a global navigation bar to display logos that link to each team.', 'sportspress' ), 'desc' => __( 'Add a global navigation bar to display logos that link to each team.', 'sportspress' ),
), ),
'sponsors' => array( 'sponsors' => array(
'label' => __( 'Sponsors', 'sportspress' ), 'label' => __( 'Sponsors', 'sportspress' ),
'class' => 'SportsPress_Sponsors', 'class' => 'SportsPress_Sponsors',
'icon' => 'sp-icon-megaphone', 'icon' => 'sp-icon-megaphone',
'link' => 'http://tboy.co/sponsors', 'link' => 'http://tboy.co/pro',
'desc' => __( 'Attract sponsors by offering them advertising space on your website.', 'sportspress' ), 'desc' => __( 'Attract sponsors by offering them advertising space on your website.', 'sportspress' ),
), ),
), ),
)); ));
if ( is_multisite() ) {
$this->data['other']['multisite'] = array(
'label' => __( 'Multisite', 'sportspress' ),
'class' => 'SportsPress_Multisite',
'icon' => 'sp-icon-globe',
'link' => 'http://tboy.co/pro',
'desc' => __( 'Manage multiple sports and display different widgets all on one site.', 'sportspress' ),
);
}
} }
public function __set( $key, $value ){ public function __set( $key, $value ){

View File

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

View File

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

View File

@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
Description: Add league tables to SportsPress. Description: Add league tables to SportsPress.
Author: ThemeBoy Author: ThemeBoy
Author URI: http://themeboy.com/ Author URI: http://themeboy.com/
Version: 1.8.3 Version: 1.8.7
*/ */
// Exit if accessed directly // Exit if accessed directly

View File

@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
Description: Add player lists to SportsPress. Description: Add player lists to SportsPress.
Author: ThemeBoy Author: ThemeBoy
Author URI: http://themeboy.com/ Author URI: http://themeboy.com/
Version: 1.8.3 Version: 1.8.7
*/ */
// Exit if accessed directly // Exit if accessed directly

View File

@@ -4,7 +4,7 @@ Tags: sport, sports, club, clubs, teams, statistics, stats, metrics, data, fixtu
Donate link: http://tboy.co/donate Donate link: http://tboy.co/donate
Requires at least: 3.8 Requires at least: 3.8
Tested up to: 4.2.2 Tested up to: 4.2.2
Stable tag: 1.8.6 Stable tag: 1.8.7
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
@@ -50,7 +50,7 @@ More details about each feature are available on the [SportsPress Website](http:
= SportsPress Pro = = SportsPress Pro =
Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](http://tboy.co/pricing) to get access to more advanced features for your team, club, or league website. Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](http://tboy.co/pro) to get access to more advanced features for your team, club, or league website.
= Available Languages = = Available Languages =
* English English ( en_US ) * English English ( en_US )
@@ -99,6 +99,7 @@ Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](htt
* Rugby League * Rugby League
* Rugby Union * Rugby Union
* Snooker * Snooker
* Softball
* Squash * Squash
* Table Tennis * Table Tennis
* Tennis * Tennis
@@ -219,12 +220,26 @@ The current modules that are available exclusively to SportsPress Pro are:
* League Menu: Display a global navigation bar at the top of your website for easy navigation from one team to the next. * League Menu: Display a global navigation bar at the top of your website for easy navigation from one team to the next.
* Branding: Instantly rebrands your admin panel to reflect your organization's brand. * Branding: Instantly rebrands your admin panel to reflect your organization's brand.
There are [4 different licenses](http://tboy.co/pricing) that you can choose from (Social, Club, and League), each with a [specified set of modules](http://sportspresspro.com/features/). There are [4 different licenses](http://tboy.co/pro) that you can choose from (Social, Club, and League), each with a [specified set of modules](http://tboy.co/pro).
When you upgrade to one of the SportsPress Pro licenses, you can simply activate the Pro version without losing any of your data. Please note that we recommend that you do a complete backup whenever you make big changes to your website. When you upgrade to one of the SportsPress Pro licenses, you can simply activate the Pro version without losing any of your data. Please note that we recommend that you do a complete backup whenever you make big changes to your website.
== Changelog == == Changelog ==
= 1.8.7 =
* Feature - Add custom table heading option to widgets.
* Feature - Add random sorting to player gallery.
* Feature - Add option to hide player list and league table titles.
* Feature - Add heading option to player positions.
* Tweak - Display Soccer (Association Football) as Football.
* Tweak - Flush permalinks automatically when saving modules.
* Tweak - Separate scrollable and responsive table options.
* Tweak - Display event performance icon tables in 2 columns.
* Fix - Duplicate league table captions in team page.
* Preset - Add softball preset.
* Localization - Add FollowCandyPanda to translation team.
* Localization - Update Polish, Spanish, German, Norwegian, Dutch, Finnish, Russian, Armenian, and Czech translations.
= 1.8.6 = = 1.8.6 =
* Tweak - Update modules page to reflect a change in offered features. * Tweak - Update modules page to reflect a change in offered features.
* Fix - Team dropdowns disappearing when none found in the competition and season assigned to an event. * Fix - Team dropdowns disappearing when none found in the competition and season assigned to an event.

View File

@@ -3,7 +3,7 @@
* Plugin Name: SportsPress * Plugin Name: SportsPress
* Plugin URI: http://themeboy.com/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.8.6 * Version: 1.8.7
* Author: ThemeBoy * Author: ThemeBoy
* Author URI: http://themeboy.com * Author URI: http://themeboy.com
* Requires at least: 3.8 * Requires at least: 3.8
@@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) :
* Main SportsPress Class * Main SportsPress Class
* *
* @class SportsPress * @class SportsPress
* @version 1.8.6 * @version 1.8.7
*/ */
final class SportsPress { final class SportsPress {
/** /**
* @var string * @var string
*/ */
public $version = '1.8.6'; public $version = '1.8.7';
/** /**
* @var SportsPress The single instance of the class * @var SportsPress The single instance of the class
@@ -138,7 +138,7 @@ final class SportsPress {
return array_merge( array( return array_merge( array(
'<a href="' . admin_url( 'admin.php?page=sportspress' ) . '">' . __( 'Settings', 'sportspress' ) . '</a>', '<a href="' . admin_url( 'admin.php?page=sportspress' ) . '">' . __( 'Settings', 'sportspress' ) . '</a>',
'<a href="' . apply_filters( 'sportspress_docs_url', 'http://tboy.co/docs' ) . '">' . __( 'Docs', 'sportspress' ) . '</a>', '<a href="' . apply_filters( 'sportspress_docs_url', 'http://tboy.co/docs' ) . '">' . __( 'Docs', 'sportspress' ) . '</a>',
'<a href="' . apply_filters( 'sportspress_pro_url', 'http://tboy.co/pricing' ) . '">' . __( 'Upgrade', 'sportspress' ) . '</a>', '<a href="' . apply_filters( 'sportspress_pro_url', 'http://tboy.co/pro' ) . '">' . __( 'Upgrade', 'sportspress' ) . '</a>',
), $links ); ), $links );
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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