SportsPress – Sports Club & League Manager - Version 2.6.4

Version Description

  • Fix - Undefined variable notice in player list.
Download this release

Release Info

Developer brianmiyaji
Plugin Icon 128x128 SportsPress – Sports Club & League Manager
Version 2.6.4
Comparing to
See all releases

Code changes from version 2.6.3 to 2.6.4

changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  == SportsPress Changelog ==
2
 
 
 
 
3
  = 2.6.3 =
4
  * Fix - Assign past teams during player import.
5
  * Fix - Next team column displaying events furthest away.
1
  == SportsPress Changelog ==
2
 
3
+ = 2.6.4 =
4
+ * Fix - Undefined variable notice in player list.
5
+
6
  = 2.6.3 =
7
  * Fix - Assign past teams during player import.
8
  * Fix - Next team column displaying events furthest away.
includes/class-sp-player-list.php CHANGED
@@ -5,7 +5,7 @@
5
  * The SportsPress player list class handles individual player list data.
6
  *
7
  * @class SP_Player_List
8
- * @version 2.6.2
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
@@ -116,8 +116,8 @@ class SP_Player_List extends SP_Secondary_Post {
116
  );
117
  endif;
118
 
 
119
  if ( $team ):
120
- $team_key = 'sp_team';
121
  switch ( $era ):
122
  case 'current':
123
  $team_key = 'sp_current_team';
5
  * The SportsPress player list class handles individual player list data.
6
  *
7
  * @class SP_Player_List
8
+ * @version 2.6.4
9
  * @package SportsPress/Classes
10
  * @category Class
11
  * @author ThemeBoy
116
  );
117
  endif;
118
 
119
+ $team_key = 'sp_team';
120
  if ( $team ):
 
121
  switch ( $era ):
122
  case 'current':
123
  $team_key = 'sp_current_team';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: calendars, club, club management, esports, events, fixtures, leagues, leag
4
  Donate link: http://tboy.co/donate
5
  Requires at least: 3.8
6
  Tested up to: 4.9
7
- Stable tag: 2.6.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -237,6 +237,9 @@ When you upgrade to one of the SportsPress Pro licenses, you can simply activate
237
 
238
  == Changelog ==
239
 
 
 
 
240
  = 2.6.3 =
241
  * Fix - Assign past teams during player import.
242
  * Fix - Next team column displaying events furthest away.
4
  Donate link: http://tboy.co/donate
5
  Requires at least: 3.8
6
  Tested up to: 4.9
7
+ Stable tag: 2.6.4
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
237
 
238
  == Changelog ==
239
 
240
+ = 2.6.4 =
241
+ * Fix - Undefined variable notice in player list.
242
+
243
  = 2.6.3 =
244
  * Fix - Assign past teams during player import.
245
  * Fix - Next team column displaying events furthest away.
sportspress.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: SportsPress
4
  * Plugin URI: http://themeboy.com/sportspress/
5
  * Description: Manage your club and its players, staff, events, league tables, and player lists.
6
- * Version: 2.6.3
7
  * Author: ThemeBoy
8
  * Author URI: http://themeboy.com
9
  * Requires at least: 3.8
@@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) :
26
  * Main SportsPress Class
27
  *
28
  * @class SportsPress
29
- * @version 2.6.3
30
  */
31
  final class SportsPress {
32
 
33
  /**
34
  * @var string
35
  */
36
- public $version = '2.6.3';
37
 
38
  /**
39
  * @var SportsPress The single instance of the class
3
  * Plugin Name: SportsPress
4
  * Plugin URI: http://themeboy.com/sportspress/
5
  * Description: Manage your club and its players, staff, events, league tables, and player lists.
6
+ * Version: 2.6.4
7
  * Author: ThemeBoy
8
  * Author URI: http://themeboy.com
9
  * Requires at least: 3.8
26
  * Main SportsPress Class
27
  *
28
  * @class SportsPress
29
+ * @version 2.6.4
30
  */
31
  final class SportsPress {
32
 
33
  /**
34
  * @var string
35
  */
36
+ public $version = '2.6.4';
37
 
38
  /**
39
  * @var SportsPress The single instance of the class
templates/countdown.php CHANGED
@@ -81,7 +81,7 @@ if ( $link_events ) $title = '<a href="' . get_post_permalink( $post->ID, false,
81
  ?>
82
  <div class="event-image sp-event-image">
83
  <?php echo get_the_post_thumbnail( $post ); ?>
84
- </h2>
85
  <?php } ?>
86
  <h3 class="event-name sp-event-name">
87
  <?php
@@ -157,4 +157,4 @@ if ( $link_events ) $title = '<a href="' . get_post_permalink( $post->ID, false,
157
  </time>
158
  </p>
159
  </div>
160
- </div>
81
  ?>
82
  <div class="event-image sp-event-image">
83
  <?php echo get_the_post_thumbnail( $post ); ?>
84
+ </div>
85
  <?php } ?>
86
  <h3 class="event-name sp-event-name">
87
  <?php
157
  </time>
158
  </p>
159
  </div>
160
+ </div>