Display nothing when format is not set

This commit is contained in:
Brian Miyaji
2014-03-17 02:13:53 +11:00
parent c83c75958f
commit dd8d9c902b

View File

@@ -18,9 +18,6 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
case 'friendly': case 'friendly':
echo '<span class="dashicons sp-icon-smile tips" title="' . __( 'Friendly', 'sportspress' ) . '"></span>'; echo '<span class="dashicons sp-icon-smile tips" title="' . __( 'Friendly', 'sportspress' ) . '"></span>';
break; break;
default:
echo '<span class="dashicons dashicons-editor-help tips" title="' . __( 'Not set', 'sportspress' ) . '"></span>';
break;
endswitch; endswitch;
break; break;
case 'sp_icon': case 'sp_icon':