Skip to content

Commit

Permalink
Tag version 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmiyaji committed Jul 17, 2015
1 parent e849e3d commit 507f13e
Show file tree
Hide file tree
Showing 23 changed files with 72 additions and 40 deletions.
2 changes: 1 addition & 1 deletion includes/admin/class-sp-admin-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/class-sp-admin-sports.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/class-sp-admin-taxonomies.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Handles taxonomies in admin
*
* @class SP_Admin_Taxonomies
* @version 1.6.1
* @version 1.8.7
* @package SportsPress/Admin
* @category Class
* @author ThemeBoy
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/settings/class-sp-settings-events.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/settings/class-sp-settings-general.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions includes/admin/settings/class-sp-settings-modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -65,7 +65,7 @@ public function output() {
<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>
Expand Down Expand Up @@ -182,9 +182,9 @@ public function output() {
<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>
Expand Down
37 changes: 27 additions & 10 deletions includes/class-sp-modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -33,14 +33,14 @@ public function __construct() {
'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' ),
),
),
Expand All @@ -54,7 +54,7 @@ public function __construct() {
'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' ),
),
),
Expand All @@ -68,14 +68,14 @@ public function __construct() {
'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' ),
),
),
Expand All @@ -89,16 +89,23 @@ public function __construct() {
'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' ),
Expand All @@ -107,18 +114,28 @@ public function __construct() {
'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 ){
Expand Down
2 changes: 1 addition & 1 deletion includes/sp-api-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion includes/sp-formatting-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/sportspress-league-tables.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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
Expand Down
2 changes: 1 addition & 1 deletion modules/sportspress-player-lists.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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
Expand Down
21 changes: 18 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 )
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions sportspress.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -26,14 +26,14 @@
* 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
Expand Down Expand Up @@ -138,7 +138,7 @@ public function action_links( $links ) {
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 );
}

Expand Down
2 changes: 1 addition & 1 deletion templates/countdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion templates/event-calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion templates/event-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion templates/event-logos.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.6
* @version 1.8.7
*/

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
Expand Down
2 changes: 1 addition & 1 deletion templates/event-performance.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.8
* @version 1.8.7
*/

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
Expand Down
2 changes: 1 addition & 1 deletion templates/event-venue.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.7
* @version 1.8.7
*/

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
Expand Down
2 changes: 1 addition & 1 deletion templates/league-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.6
* @version 1.8.7
*/

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
Expand Down
2 changes: 1 addition & 1 deletion templates/player-gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.5
* @version 1.8.7
*/

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
Expand Down
2 changes: 1 addition & 1 deletion templates/player-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.6
* @version 1.8.7
*/

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
Expand Down
2 changes: 1 addition & 1 deletion templates/team-tables.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.3
* @version 1.8.7
*/

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
Expand Down

0 comments on commit 507f13e

Please sign in to comment.