diff --git a/admin/hooks/manage-posts-columns.php b/admin/hooks/manage-posts-columns.php
index 0b68a6c4..d30a3e53 100644
--- a/admin/hooks/manage-posts-columns.php
+++ b/admin/hooks/manage-posts-columns.php
@@ -69,12 +69,15 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
echo '
';
endforeach;
elseif ( $post_type == 'sp_player' ):
- $results = get_post_meta( $post_id, 'sp_results', true );
+ $current_team = get_post_meta( $post_id, 'sp_current_team', true );
foreach( $teams as $team_id ):
if ( ! $team_id ) continue;
$team = get_post( $team_id );
- $outcome_slug = sportspress_array_value( sportspress_array_value( $results, $team_id, null ), 'outcome', null );
- echo $team->post_title . '
';
+ echo $team->post_title;
+ if ( $team_id == $current_team ):
+ echo ' (' . __( 'Current Team', 'sportspress' ) . ')';
+ endif;
+ echo '
';
endforeach;
else:
foreach( $teams as $team_id ):
diff --git a/readme.txt b/readme.txt
index f2a439a8..3e960b61 100644
--- a/readme.txt
+++ b/readme.txt
@@ -4,7 +4,7 @@ Tags: sports, sports journalism, teams, team management, fixtures, results, stan
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=support@themeboy.com&item_name=Donation+for+SportsPress
Requires at least: 3.8
Tested up to: 3.8.1
-Stable tag: 0.2.10
+Stable tag: 0.3
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -94,6 +94,10 @@ SportsPress is currently in beta and is undergoing testing. We are still activel
== Changelog ==
+= 0.3 =
+* Feature - Import tool added for importing players from CSV file.
+* Tweak - Display current team indicator in players admin screen.
+
= 0.2.10 =
* Fix - Team filtering in events, tables, players, and lists.
* Tweak - Display statistics for all league/season events played in player profiles and player lists.
diff --git a/sportspress.php b/sportspress.php
index ee05b5ce..ea795cbb 100644
--- a/sportspress.php
+++ b/sportspress.php
@@ -6,7 +6,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: 0.2.10
+Version: 0.3
Author: ThemeBoy
Author URI: http://themeboy.com/
License: GPLv3
@@ -18,7 +18,7 @@ if ( !function_exists( 'add_action' ) ) {
exit;
}
-define( 'SPORTSPRESS_VERSION', '0.2.10' );
+define( 'SPORTSPRESS_VERSION', '0.3' );
define( 'SPORTSPRESS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'SPORTSPRESS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
define( 'SPORTSPRESS_PLUGIN_FILE', __FILE__ );