From 745ed40d46c18c683322b19939455deed52e94df Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 18 Jun 2022 19:53:46 +0200 Subject: Fix ConcertTable tests and markup. --- includes/admin/views/_concerts_table.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'includes') diff --git a/includes/admin/views/_concerts_table.php b/includes/admin/views/_concerts_table.php index ad7aebc..4f9b3c9 100644 --- a/includes/admin/views/_concerts_table.php +++ b/includes/admin/views/_concerts_table.php @@ -310,7 +310,7 @@ if ( ! class_exists( 'GiglogAdmin_ConcertsTable' ) ) { $content .= 'Tickets'; } - $content .= ' iCal'; + $content .= 'iCal'; $content .= ''; $last_city = $concert->venue()->city(); } @@ -320,7 +320,7 @@ if ( ! class_exists( 'GiglogAdmin_ConcertsTable' ) ) { $content .= $this->render_pagination(); // from main form that includes filters - $content .= '

'; + $content .= ''; // return the table return $content; @@ -329,7 +329,7 @@ if ( ! class_exists( 'GiglogAdmin_ConcertsTable' ) ) { private function render_filters() : string { global $wp_locale; - $select = '

FILTER DATA: '; + $select = 'FILTER DATA: '; foreach ( $_GET as $name => $val ) { if ( in_array( $name, self::FILTER_KEYS ) ) { @@ -372,8 +372,6 @@ if ( ! class_exists( 'GiglogAdmin_ConcertsTable' ) ) { 'Select month...' ); - $select .= ''; - if ( is_admin() ) { // option to select own concerts only $select .= '