Tag version 1.8.7
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* @author ThemeBoy
|
||||
* @category Admin
|
||||
* @package SportsPress/Admin
|
||||
* @version 1.8.3
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* The SportsPress admin sports class stores preset sport data.
|
||||
*
|
||||
* @class SP_Admin_Sports
|
||||
* @version 1.8
|
||||
* @version 1.8.7
|
||||
* @package SportsPress/Admin
|
||||
* @category Class
|
||||
* @author ThemeBoy
|
||||
|
||||
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
* Handles taxonomies in admin
|
||||
*
|
||||
* @class SP_Admin_Taxonomies
|
||||
* @version 1.6.1
|
||||
* @version 1.8.7
|
||||
* @package SportsPress/Admin
|
||||
* @category Class
|
||||
* @author ThemeBoy
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @author ThemeBoy
|
||||
* @category Admin
|
||||
* @package SportsPress/Admin
|
||||
* @version 1.8
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @author ThemeBoy
|
||||
* @category Admin
|
||||
* @package SportsPress/Admin
|
||||
* @version 1.8.5
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @author ThemeBoy
|
||||
* @category Admin
|
||||
* @package SportsPress/Admin
|
||||
* @version 1.8.6
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
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 class="sp-module-actions">
|
||||
<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>
|
||||
</td></tr>
|
||||
</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/ideas" target="_blank"><?php _e( 'Feature Requests', 'sportspress' ); ?></a></li>
|
||||
<?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 { ?>
|
||||
<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 } ?>
|
||||
</ul>
|
||||
<p><strong><i class="dashicons dashicons-share"></i> <?php _e( 'Connect', 'sportspress' ); ?></strong></p>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* The SportsPress modules class stores available modules.
|
||||
*
|
||||
* @class SP_Modules
|
||||
* @version 1.8.6
|
||||
* @version 1.8.7
|
||||
* @package SportsPress/Classes
|
||||
* @category Class
|
||||
* @author ThemeBoy
|
||||
@@ -33,14 +33,14 @@ class SP_Modules {
|
||||
'label' => __( 'Match Stats', 'sportspress' ),
|
||||
'class' => 'SportsPress_Match_Stats',
|
||||
'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' ),
|
||||
),
|
||||
'tournaments' => array(
|
||||
'label' => __( 'Tournaments', 'sportspress' ),
|
||||
'class' => 'SportsPress_Tournaments',
|
||||
'icon' => 'sp-icon-tournament',
|
||||
'link' => 'http://tboy.co/tournaments',
|
||||
'link' => 'http://tboy.co/pro',
|
||||
'desc' => __( 'Schedule tournaments and create interactive playoff brackets.', 'sportspress' ),
|
||||
),
|
||||
),
|
||||
@@ -54,7 +54,7 @@ class SP_Modules {
|
||||
'label' => __( 'Team Colors', 'sportspress' ),
|
||||
'class' => 'SportsPress_Team_Colors',
|
||||
'icon' => 'sp-icon-color',
|
||||
'link' => 'http://tboy.co/colors',
|
||||
'link' => 'http://tboy.co/pro',
|
||||
'desc' => __( 'Create a custom color palette for each team.', 'sportspress' ),
|
||||
),
|
||||
),
|
||||
@@ -68,14 +68,14 @@ class SP_Modules {
|
||||
'label' => __( 'Birthdays', 'sportspress' ),
|
||||
'class' => 'SportsPress_Birthdays',
|
||||
'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' ),
|
||||
),
|
||||
'staff_directories' => array(
|
||||
'label' => __( 'Directories', 'sportspress' ),
|
||||
'class' => 'SportsPress_Staff_Directories',
|
||||
'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' ),
|
||||
),
|
||||
),
|
||||
@@ -89,16 +89,23 @@ class SP_Modules {
|
||||
'label' => __( 'Branding', 'sportspress' ),
|
||||
'class' => 'SportsPress_Branding',
|
||||
'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' ),
|
||||
),
|
||||
'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(
|
||||
'twitter' => array(
|
||||
'label' => __( 'Twitter', 'sportspress' ),
|
||||
'class' => 'SportsPress_Twitter',
|
||||
'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' ),
|
||||
'icon' => 'dashicons dashicons-twitter',
|
||||
'desc' => __( 'Add a Twitter feed to team, player, and staff pages.', 'sportspress' ),
|
||||
@@ -107,18 +114,28 @@ class SP_Modules {
|
||||
'label' => __( 'League Menu', 'sportspress' ),
|
||||
'class' => 'SportsPress_League_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' ),
|
||||
),
|
||||
'sponsors' => array(
|
||||
'label' => __( 'Sponsors', 'sportspress' ),
|
||||
'class' => 'SportsPress_Sponsors',
|
||||
'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' ),
|
||||
),
|
||||
),
|
||||
));
|
||||
|
||||
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 ){
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @author ThemeBoy
|
||||
* @category Core
|
||||
* @package SportsPress/Functions
|
||||
* @version 1.7
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @author ThemeBoy
|
||||
* @category Core
|
||||
* @package SportsPress/Functions
|
||||
* @version 1.7
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
||||
Description: Add league tables to SportsPress.
|
||||
Author: ThemeBoy
|
||||
Author URI: http://themeboy.com/
|
||||
Version: 1.8.3
|
||||
Version: 1.8.7
|
||||
*/
|
||||
|
||||
// Exit if accessed directly
|
||||
|
||||
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
||||
Description: Add player lists to SportsPress.
|
||||
Author: ThemeBoy
|
||||
Author URI: http://themeboy.com/
|
||||
Version: 1.8.3
|
||||
Version: 1.8.7
|
||||
*/
|
||||
|
||||
// Exit if accessed directly
|
||||
|
||||
21
readme.txt
21
readme.txt
@@ -4,7 +4,7 @@ Tags: sport, sports, club, clubs, teams, statistics, stats, metrics, data, fixtu
|
||||
Donate link: http://tboy.co/donate
|
||||
Requires at least: 3.8
|
||||
Tested up to: 4.2.2
|
||||
Stable tag: 1.8.6
|
||||
Stable tag: 1.8.7
|
||||
License: GPLv3
|
||||
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 =
|
||||
|
||||
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 =
|
||||
* English – English ( en_US )
|
||||
@@ -99,6 +99,7 @@ Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](htt
|
||||
* Rugby League
|
||||
* Rugby Union
|
||||
* Snooker
|
||||
* Softball
|
||||
* Squash
|
||||
* Table 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.
|
||||
* 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.
|
||||
|
||||
== 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 =
|
||||
* 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.
|
||||
|
||||
@@ -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.8.6
|
||||
* Version: 1.8.7
|
||||
* 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.8.6
|
||||
* @version 1.8.7
|
||||
*/
|
||||
final class SportsPress {
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $version = '1.8.6';
|
||||
public $version = '1.8.7';
|
||||
|
||||
/**
|
||||
* @var SportsPress The single instance of the class
|
||||
@@ -138,7 +138,7 @@ final class SportsPress {
|
||||
return array_merge( array(
|
||||
'<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_pro_url', 'http://tboy.co/pricing' ) . '">' . __( 'Upgrade', 'sportspress' ) . '</a>',
|
||||
'<a href="' . apply_filters( 'sportspress_pro_url', 'http://tboy.co/pro' ) . '">' . __( 'Upgrade', 'sportspress' ) . '</a>',
|
||||
), $links );
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author ThemeBoy
|
||||
* @package SportsPress/Templates
|
||||
* @version 1.8.2
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author ThemeBoy
|
||||
* @package SportsPress/Templates
|
||||
* @version 1.8.2
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author ThemeBoy
|
||||
* @package SportsPress/Templates
|
||||
* @version 1.8.2
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author ThemeBoy
|
||||
* @package SportsPress/Templates
|
||||
* @version 1.6
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author ThemeBoy
|
||||
* @package SportsPress/Templates
|
||||
* @version 1.8
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author ThemeBoy
|
||||
* @package SportsPress/Templates
|
||||
* @version 1.7
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author ThemeBoy
|
||||
* @package SportsPress/Templates
|
||||
* @version 1.6
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author ThemeBoy
|
||||
* @package SportsPress/Templates
|
||||
* @version 1.5
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author ThemeBoy
|
||||
* @package SportsPress/Templates
|
||||
* @version 1.6
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author ThemeBoy
|
||||
* @package SportsPress/Templates
|
||||
* @version 1.3
|
||||
* @version 1.8.7
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
Reference in New Issue
Block a user