Replace deprecated function causing errors in player lists admin

This commit is contained in:
Brian Miyaji
2014-02-08 19:56:25 +11:00
parent cca39a5673
commit 5f71cc1e06
3 changed files with 6 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
echo sportspress_get_post_calculate( $post_id );
break;
case 'sp_player':
echo sportspress_the_posts( $post_id, 'sp_player' );
echo sportspress_posts( $post_id, 'sp_player' );
break;
case 'sp_event':
echo get_post_meta ( $post_id, 'sp_event' ) ? sizeof( get_post_meta ( $post_id, 'sp_event' ) ) : '—';

View File

@@ -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.5
Tested up to: 3.8
Stable tag: 0.2.4
Stable tag: 0.2.5
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -72,6 +72,9 @@ SportsPress is currently in beta and is undergoing testing. We are still activel
== Changelog ==
= 0.2.5 =
* Fix - Update deprecated function to prevent error in Player Lists.
= 0.2.4 =
* Feature - Display venue map on event page and venue archive.
* Tweak - Sort sports presets alphabetically by localized name.

View File

@@ -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.4
Version: 0.2.5
Author: ThemeBoy
Author URI: http://themeboy.com/
License: GPLv3