From 030ba4d38fea59a805897cd55ffe4725e2d5aa72 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Mon, 7 Oct 2024 10:53:22 +0200 Subject: [PATCH] removing unnecessary write logs --- includes/ajax.php | 1 - includes/forms/__form-satisfaction_old.php | 1 - 2 files changed, 2 deletions(-) diff --git a/includes/ajax.php b/includes/ajax.php index e2b4c3e..2206c14 100644 --- a/includes/ajax.php +++ b/includes/ajax.php @@ -101,7 +101,6 @@ function load_more_fiches_infos() // $isQueryEmpty = $ajax_query->have_posts() ? false : true; $isQueryEmpty = $offset + 1 >= $ajax_query->max_num_pages ? true : false; - // write_log($isQueryEmpty); // BREAK IF QUERY IS EMPTY if ($ajax_query->have_posts() == false) { diff --git a/includes/forms/__form-satisfaction_old.php b/includes/forms/__form-satisfaction_old.php index 1037155..b46d3cf 100644 --- a/includes/forms/__form-satisfaction_old.php +++ b/includes/forms/__form-satisfaction_old.php @@ -47,7 +47,6 @@ function populate_note_comment_based_on_rating($form) $stringified_information_accessibility_rating = isset($field["choices"][$global_user_rating - 1]['text']) ? $field["choices"][$global_user_rating - 1]['text'] : ''; - write_log($stringified_information_accessibility_rating); $_POST["input_{$nextHiddenLabelField->id}"] = $stringified_information_accessibility_rating; }