From 28884df6a7e3f27e86caf7f0e4d55c22d2000476 Mon Sep 17 00:00:00 2001 From: corsac Date: Fri, 23 Oct 2026 16:29:31 +0100 Subject: [PATCH] Remove DT Home launcher debug logging that wrote magic-link URLs to the error log (GO-53) --- dt-apps/dt-home/admin/home-admin.php | 3 --- dt-apps/dt-home/frontend/partials/launcher-bottom-nav.php | 4 ---- dt-apps/dt-home/magic-link-home-app.php | 3 --- 3 files changed, 10 deletions(-) diff --git a/dt-apps/dt-home/admin/home-admin.php b/dt-apps/dt-home/admin/home-admin.php index 4eade81d25..65cbd9cfcb 100644 --- a/dt-apps/dt-home/admin/home-admin.php +++ b/dt-apps/dt-home/admin/home-admin.php @@ -826,9 +826,6 @@ private function handle_app_action() { $submitted_color = sanitize_text_field( wp_unslash( $_POST['app_color'] ?? '' ) ); $form_original_color = sanitize_text_field( wp_unslash( $_POST['app_color_original'] ?? '' ) ); - // Debug logging (remove in production) - error_log( 'DT Home: App color update - Submitted: ' . $submitted_color . ', Original: ' . ( $original_color ?: 'empty' ) . ', Form Original: ' . $form_original_color ); - // Determine if we should update the color // If original had no color (empty string) and submitted is #cccccc (placeholder), don't update // Otherwise, update the color diff --git a/dt-apps/dt-home/frontend/partials/launcher-bottom-nav.php b/dt-apps/dt-home/frontend/partials/launcher-bottom-nav.php index 211a1f7928..7ab6d3e225 100644 --- a/dt-apps/dt-home/frontend/partials/launcher-bottom-nav.php +++ b/dt-apps/dt-home/frontend/partials/launcher-bottom-nav.php @@ -36,10 +36,6 @@ // For custom apps, just need to be app-type (they may not have magic_link_meta) return true; }); - -// Debug logging -error_log( 'DT Home Launcher Nav: Total apps: ' . count( $apps ) ); -error_log( 'DT Home Launcher Nav: Filtered app-type apps: ' . count( $filtered_apps ) ); ?>