opt settings page
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
<div id="form">
|
||||
<form method="post" action="<?php echo admin_url('admin-post.php'); ?>">
|
||||
<?php echo wp_nonce_field('go_form_action', 'go_form_nonce', true, false); ?>
|
||||
<input type="hidden" name="action" value="go_form_submit">
|
||||
<input type="hidden" name="action" value="go_form_handle_submission">
|
||||
<input type="hidden" name="form_id" value="<?php echo esc_attr($form_id); ?>">
|
||||
|
||||
<div class="go-form-grid">
|
||||
|
||||
@@ -32,12 +32,7 @@
|
||||
<td> <?= esc_html($e->email) ?> </td>
|
||||
<td> <?= esc_html($e->created_at) ?> </td>
|
||||
<td>
|
||||
<form method="post" action=" <?= admin_url('admin-post.php') ?> ">
|
||||
<?= wp_nonce_field('go_form_delete_action', 'go_form_delete_nonce', true, false) ?>
|
||||
<input type="hidden" name="action" value="go_form_delete_entry">
|
||||
<input type="hidden" name="entry_id" value=" <?= esc_attr($e->id) ?> ">
|
||||
<input type="submit" value="Delete" class="button delete" onclick="return confirm('Delete this entry?')">
|
||||
</form>
|
||||
<?php action_button('go_form_delete_entry', 'Delete', 'Delete this entry?', $e->id); ?>
|
||||
</td>
|
||||
<td> <?= esc_html($e->comment) ?> </td>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user