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:
@@ -86,14 +86,6 @@ class Admin {
|
|||||||
|
|
||||||
// Localize the script with the data.
|
// Localize the script with the data.
|
||||||
// @TODO: Fix mocking for wp_localize_script. Issue #1.
|
// @TODO: Fix mocking for wp_localize_script. Issue #1.
|
||||||
// @phpcs:ignore Squiz.PHP.CommentedOutCode.Found
|
// Will need to implement wp_localize_script for 'wpst-admin-script' with 'wpst_admin_data' and the data array.
|
||||||
|
|
||||||
/*
|
|
||||||
\wp_localize_script(
|
|
||||||
'wpst-admin-script',
|
|
||||||
'wpst_admin_data',
|
|
||||||
$data
|
|
||||||
);
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user