Display nothing when format is not set
This commit is contained in:
@@ -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':
|
||||||
|
|||||||
Reference in New Issue
Block a user