wip the nonce for the menu works

This commit is contained in:
asus
2024-03-23 22:14:16 +01:00
parent aae40be620
commit 46885fe10e
4 changed files with 64 additions and 37 deletions

View File

@@ -1,4 +1,5 @@
<form action="<?php echo $fetch_url.'/'.$base_rest_route.'/choose'; ?>" method="POST">
<form method="POST">
<?php wp_nonce_field('action_name', 'nonce_name'); ?>
<div>
<input type="checkbox" id="calculation_patch" name="calculation" checked />
<label for="calculation_patch">calculation patch</label>