From de4d4043035707196845d307a12f5d0e9028ba8c Mon Sep 17 00:00:00 2001 From: Takumi Date: Wed, 21 Aug 2013 00:50:05 +1000 Subject: [PATCH] Link team icon to edit screen --- actions.php | 2 +- tournament.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actions.php b/actions.php index a7a16dff..cd755c2c 100644 --- a/actions.php +++ b/actions.php @@ -14,7 +14,7 @@ function sp_manage_posts_custom_column( $column, $post_id ) { global $post; switch ( $column ): case 'sp_icon': - the_post_thumbnail( 'sp_icon' ); + edit_post_link( get_the_post_thumbnail( $post_id, 'sp_icon' ), '', '', $post_id ); break; case 'sp_position': echo get_the_terms ( $post_id, 'sp_position' ) ? the_terms( $post_id, 'sp_position' ) : '—'; diff --git a/tournament.php b/tournament.php index fd85904d..4adefad6 100644 --- a/tournament.php +++ b/tournament.php @@ -22,7 +22,7 @@ function sp_tournament_edit_columns() { 'title' => __( 'Title' ), 'sp_team' => __( 'Teams', 'sportspress' ), 'sp_event' => __( 'Events', 'sportspress' ), - 'sp_sponsor' => __( 'Sponsor', 'sportspress' ) + 'sp_sponsor' => __( 'Sponsors', 'sportspress' ) ); return $columns; }