From 91469a1e3048f0145b901d982da869eee9e71bfb Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 22 Jun 2016 07:36:42 -0400 Subject: [PATCH] Remove debug content Removing print_r statements. --- index.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.php b/index.php index 2a47ac5..0b8e620 100644 --- a/index.php +++ b/index.php @@ -463,10 +463,8 @@ function glm_custom_shortcode( $atts ) { '; if ( $tour_id = filter_var( $_REQUEST['tour'], FILTER_VALIDATE_INT ) ) { - echo '
$tour_id: ' . print_r($tour_id, true) . '
'; glm_custom_show_tour( $tour_id ); } else if ( $cat_id = filter_var( $_REQUEST['category'], FILTER_VALIDATE_INT ) ) { - echo '
$cat_id: ' . print_r($cat_id, true) . '
'; glm_custom_list_categories( $cat_id ); } else if ( ! $catid_id && ! $tour_id ) { $text_query = filter_var( $_REQUEST['tsearch'], FILTER_SANITIZE_STRING ); @@ -666,7 +664,6 @@ function glm_custom_show_tour() { global $wpdb, $wp; $tour_slug = get_query_var('tour', ''); $tour = get_page_by_path( $tour_slug, ARRAY_A, GLM_CUSTOM_POST_TYPE ); - echo '
$tour: ' . print_r($tour, true) . '
'; include 'views/tour_detail.php'; return; } -- 2.17.1