Fix team site url link escaping in admin

This commit is contained in:
Brian Miyaji
2015-10-04 21:52:05 +11:00
parent 78bd04e151
commit 801c52420e

View File

@@ -82,7 +82,7 @@ class SP_Admin_CPT_Team extends SP_Admin_CPT {
echo has_post_thumbnail( $post_id ) ? edit_post_link( get_the_post_thumbnail( $post_id, 'sportspress-fit-mini' ), '', '', $post_id ) : '';
break;
case 'sp_url':
echo esc_html( sp_get_url( $post_id ) );
echo strip_tags( sp_get_url( $post_id ), '<a>' );
break;
case 'sp_abbreviation':
$abbreviation = get_post_meta ( $post_id, 'sp_abbreviation', true );