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
This commit is contained in:
2025-04-21 15:10:18 +01:00
parent 57a4c98f46
commit ebdb172a14

View File

@@ -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.
}
}