wip menu can now receive form with rest api, but no nonce
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user