From ebdb172a14c62baad24499845bbdc895aef99931 Mon Sep 17 00:00:00 2001 From: marcusquinn <6428977+marcusquinn@users.noreply.github.com> Date: Mon, 21 Apr 2025 15:10:18 +0100 Subject: [PATCH] Replace commented-out code with concise TODO note - Removed large block of commented-out code - Replaced with a concise TODO note about the implementation needed --- includes/Admin/class-admin.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/includes/Admin/class-admin.php b/includes/Admin/class-admin.php index ab9b182..5aeccd1 100644 --- a/includes/Admin/class-admin.php +++ b/includes/Admin/class-admin.php @@ -86,14 +86,6 @@ class Admin { // Localize the script with the data. // @TODO: Fix mocking for wp_localize_script. Issue #1. - // @phpcs:ignore Squiz.PHP.CommentedOutCode.Found - - /* - \wp_localize_script( - 'wpst-admin-script', - 'wpst_admin_data', - $data - ); - */ + // Will need to implement wp_localize_script for 'wpst-admin-script' with 'wpst_admin_data' and the data array. } }