wip menu can now receive form with rest api, but no nonce

This commit is contained in:
asus
2024-03-23 18:25:43 +01:00
parent b6d1d63b93
commit aae40be620
4 changed files with 36 additions and 2 deletions

View File

@@ -9,7 +9,6 @@ export function PLGNTLS_fetch(url, options = {}) {
options.headers = options.headers || {};
options.headers['X-WP-Nonce'] = PLGNTLS_data.fetch_nonce,
console.log("options:", options);
return fetch(url, options);
}