From 5f71cc1e060c34e48714cfbd636343fec4ad79db Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Sat, 8 Feb 2014 19:56:25 +1100 Subject: [PATCH] Replace deprecated function causing errors in player lists admin --- admin/hooks/manage-posts-columns.php | 2 +- readme.txt | 5 ++++- sportspress.php | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/admin/hooks/manage-posts-columns.php b/admin/hooks/manage-posts-columns.php index ff8e0126..0b68a6c4 100644 --- a/admin/hooks/manage-posts-columns.php +++ b/admin/hooks/manage-posts-columns.php @@ -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' ) ) : '—'; diff --git a/readme.txt b/readme.txt index 4419dee6..2be2f9cc 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.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. diff --git a/sportspress.php b/sportspress.php index d03812ae..0da75b9f 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.4 +Version: 0.2.5 Author: ThemeBoy Author URI: http://themeboy.com/ License: GPLv3