Skip to content

Commit

Permalink
Tag version 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmiyaji committed Mar 22, 2017
1 parent 93949d9 commit 650742c
Show file tree
Hide file tree
Showing 13 changed files with 38 additions and 47 deletions.
6 changes: 3 additions & 3 deletions includes/sportspress-sponsors/sportspress-sponsors.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: Add sponsors to SportsPress.
Author: ThemeBoy
Author URI: http://themeboy.com
Version: 2.0.10
Version: 2.3
*/

// Exit if accessed directly
Expand All @@ -17,7 +17,7 @@
* Main SportsPress Sponsors Class
*
* @class SportsPress_Sponsors
* @version 2.0.10
* @version 2.3
*/
class SportsPress_Sponsors {

Expand Down Expand Up @@ -70,7 +70,7 @@ public function __construct() {
*/
private function define_constants() {
if ( !defined( 'SP_SPONSORS_VERSION' ) )
define( 'SP_SPONSORS_VERSION', '2.0.10' );
define( 'SP_SPONSORS_VERSION', '2.3' );

if ( !defined( 'SP_SPONSORS_URL' ) )
define( 'SP_SPONSORS_URL', plugin_dir_url( __FILE__ ) );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* The SportsPress staff directory class handles individual staff directory data.
*
* @class SP_Staff_Directory
* @version 2.1.5
* @version 2.3
* @package SportsPress_Staff_Directories
* @category Class
* @author ThemeBoy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: Adds staff directories to SportsPress.
Author: ThemeBoy
Author URI: http://themeboy.com
Version: 2.1.5
Version: 2.3
*/

// Exit if accessed directly
Expand All @@ -17,7 +17,7 @@
* Main SportsPress Staff Directories Class
*
* @class SportsPress_Staff_Directories
* @version 2.1.5
* @version 2.3
*/
class SportsPress_Staff_Directories {

Expand Down Expand Up @@ -77,7 +77,7 @@ public function __construct() {
*/
private function define_constants() {
if ( !defined( 'SP_STAFF_DIRECTORIES_VERSION' ) )
define( 'SP_STAFF_DIRECTORIES_VERSION', '2.1.5' );
define( 'SP_STAFF_DIRECTORIES_VERSION', '2.3' );

if ( !defined( 'SP_STAFF_DIRECTORIES_URL' ) )
define( 'SP_STAFF_DIRECTORIES_URL', plugin_dir_url( __FILE__ ) );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress_Tournaments
* @version 2.2
* @version 2.3
*/

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
Expand Down
6 changes: 3 additions & 3 deletions includes/sportspress-tournaments/sportspress-tournaments.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: Adds tournament groups and brackets to SportsPress.
Author: ThemeBoy
Author URI: http://themeboy.com
Version: 2.2
Version: 2.3
*/

// Exit if accessed directly
Expand All @@ -17,7 +17,7 @@
* Main SportsPress Tournaments Class
*
* @class SportsPress_Tournaments
* @version 2.2
* @version 2.3
*/
class SportsPress_Tournaments {

Expand Down Expand Up @@ -68,7 +68,7 @@ public function __construct() {
*/
private function define_constants() {
if ( !defined( 'SP_TOURNAMENTS_VERSION' ) )
define( 'SP_TOURNAMENTS_VERSION', '2.2' );
define( 'SP_TOURNAMENTS_VERSION', '2.3' );

if ( !defined( 'SP_TOURNAMENTS_URL' ) )
define( 'SP_TOURNAMENTS_URL', plugin_dir_url( __FILE__ ) );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress_Tournaments
* @version 2.2
* @version 2.3
*/

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress_User_Scoress
* @version 2.2.11
* @version 2.3
*/

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
Expand Down
6 changes: 3 additions & 3 deletions includes/sportspress-user-scores/sportspress-user-scores.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: Allow players, staff, and visitors to submit event scores.
Author: ThemeBoy
Author URI: http://themeboy.com
Version: 2.2.11
Version: 2.3
*/

// Exit if accessed directly
Expand All @@ -17,7 +17,7 @@
* Main SportsPress User Scores Class
*
* @class SportsPress_User_Scores
* @version 2.2
* @version 2.3
*
*/
class SportsPress_User_Scores {
Expand All @@ -43,7 +43,7 @@ public function __construct() {
*/
private function define_constants() {
if ( !defined( 'SP_USER_SCORES_VERSION' ) )
define( 'SP_USER_SCORES_VERSION', '2.2' );
define( 'SP_USER_SCORES_VERSION', '2.3' );

if ( !defined( 'SP_USER_SCORES_URL' ) )
define( 'SP_USER_SCORES_URL', plugin_dir_url( __FILE__ ) );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress_User_Results
* @version 2.2
* @version 2.3
*/

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress_User_Scores
* @version 2.2
* @version 2.3
*/

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
Expand Down
18 changes: 16 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: ThemeBoy, brianmiyaji, aylaview
Tags: calendars, club, club management, esports, events, fixtures, leagues, league management, sports, sports club, sports data, team rosters
Requires at least: 3.8
Tested up to: 4.7
Stable tag: 2.2.11
Stable tag: 2.3
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -115,6 +115,20 @@ If on the off-chance you do encounter issues with the event/team/player/staff/sp

== Changelog ==

= 2.3 =
* Feature - User Scores module for allowing users to submit event scores from the frontend.
* Feature - Add custom post types to sample data generator in wizard.
* Feature - Choose team or individual mode for tournaments.
* Feature - New setup wizard for first-time installs.
* Feature - Option to automatically create player profiles during user registration.
* Feature - Choose team or individual mode for each event.
* Feature - Send Off setting for player statistics to suspend minute count for that player.
* Tweak - Remove horizontal scrolling in dashboard to fix hidden dropdowns.
* Tweak - Revert text color overrides for dark color schemes in frontend styles.
* Fix - Sponsors background color overflowing on some themes.
* Fix - Borrowed players not automatically loading on event edit.
* Fix - Played minutes calculation and player profile statistics.

= 2.2.11 =
* Fix - Timeout issue when tiebreaker checks for head-to-head standings.
* Fix - Check for REST API controllers to prevent errors when using Jetpack.
Expand Down Expand Up @@ -299,7 +313,7 @@ If on the off-chance you do encounter issues with the event/team/player/staff/sp
* Feature - Add squad number and name option to player details.
* Feature - Add tab options to layout designer.
* Feature - Add option to display player and staff dropdowns in profiles.
* Feature - Add option to select TBA, postponed, and cancelled event status.
* Feature - Add option to select TBA, postponed, and canceled event status.
* Feature - Licenses tab for third-party extensions.
* Tweak - Sort teams alphabetically in tournament edit screen.
* Tweak - Move match stats option to box score section.
Expand Down
29 changes: 3 additions & 26 deletions sportspress-pro.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: SportsPress Pro
* Plugin URI: http://tboy.co/pro
* Description: Advanced club & league management from ThemeBoy.
* Version: 2.2.11
* Version: 2.3
* Author: ThemeBoy
* Author URI: http://themeboy.com
* Requires at least: 3.8
Expand All @@ -26,14 +26,14 @@
* Main SportsPress Pro Class
*
* @class SportsPress_Pro
* @version 2.2.11
* @version 2.3
*/
final class SportsPress_Pro {

/**
* @var string
*/
public $version = '2.2.11';
public $version = '2.3';

/**
* SportsPress Pro Constructor.
Expand All @@ -56,7 +56,6 @@ public function __construct() {
// Hooks
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'action_links' ) );
add_filter( 'sportspress_setup_wizard_next_steps', array( $this, 'next_steps' ) );
add_action( 'sportspress_before_welcome_features', array( $this, 'welcome_features' ) );
add_action( 'admin_init', array( $this, 'deactivate_core' ) );
add_action( 'before_sportspress_init', array( $this, 'load_module_translations' ), 0 );
add_action( 'get_the_generator_html', array( $this, 'generator_tag' ), 10, 2 );
Expand Down Expand Up @@ -126,28 +125,6 @@ public function next_steps( $steps ) {
return $steps;
}

/**
* Displayed features on welcome screen.
*/
public function welcome_features() {
?>
<div class="feature-section two-col">
<h2>Timelines</h2>
<img src="https://www.themeboy.com/wp-content/uploads/timelines.png" alt="Templates">
<div class="col">
<h3>Visualize Minutes</h3>
<p>Introducing a new way to visualize timed statistics by displaying them in a horizontal timeline across the top of event pages. Icons can be customized for each statistic via the <a href="<?php echo add_query_arg( array( 'page' => 'sportspress-config' ), admin_url( 'admin.php' ) ); ?>">Configure</a> screen.</p>
</div>
<div class="col">
<h3>Accurate Timestamps</h3>
<p>The <strong>Full Time</strong> setting in each event will automatically determine where each icon is placed in the timeline. Activate <strong>Timelines</strong> in <a href="<?php echo add_query_arg( array( 'page' => 'sportspress' ), admin_url( 'admin.php' ) ); ?>">SportsPress Settings</a> to start using this new module.</p>
</div>
</div>

<hr>
<?php
}

/**
* Deactivate core.
*/
Expand Down
2 changes: 1 addition & 1 deletion wpml-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key name="Article"/>
<key name="Birthday"/>
<key name="Box Score"/>
<key name="Cancelled"/>
<key name="Canceled"/>
<key name="Competition"/>
<key name="Contact Info"/>
<key name="Current Team"/>
Expand Down

0 comments on commit 650742c

Please sign in to comment.