Change player positions display in metrics and statistics when none selected

This commit is contained in:
Brian Miyaji
2014-02-07 06:43:56 +11:00
parent b6b8e30e7e
commit 98d54b23c3
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
echo get_the_terms( $post_id, 'sp_position' ) ? the_terms( $post_id, 'sp_position' ) : '—';
break;
case 'sp_positions':
echo get_the_terms ( $post_id, 'sp_position' ) ? the_terms( $post_id, 'sp_position' ) : sprintf( __( 'All %s', 'sportspress' ), __( 'positions', 'sportspress' ) );
echo get_the_terms ( $post_id, 'sp_position' ) ? the_terms( $post_id, 'sp_position' ) : '—';
break;
case 'sp_team':
$post_type = get_post_type( $post );