Revert "Make the Date field optional in Event List template and Shortcode"

This reverts commit 41755701a4.
This commit is contained in:
Brian Miyaji
2018-12-09 11:48:20 +11:00
parent 0abd9585bc
commit 9f6001762f
3 changed files with 2 additions and 9 deletions

View File

@@ -28,8 +28,6 @@ class SP_Meta_Box_Calendar_Columns {
}
$columns = array();
$columns['date'] = __( 'Date', 'sportspress' );
if ( 'teams' === $title_format ) {
$columns[ 'event' ] = __( 'Home', 'sportspress' ) . ' | ' . __( 'Away', 'sportspress' );

View File

@@ -621,7 +621,6 @@ class SP_AJAX {
<?php _e( 'Columns:', 'sportspress' ); ?><br>
<?php
$the_columns = array(
'date' => __( 'Date', 'sportspress' ),
'event' => __( 'Event', 'sportspress' ),
'teams' => __( 'Teams', 'sportspress' ),
'time' => __( 'Time', 'sportspress' ),