add nonce field
This commit is contained in:
parent
8abc13692d
commit
8696f52eae
@ -1,4 +1,6 @@
|
|||||||
|
<?php $nonce = wp_create_nonce('plugin-wonderful'); ?>
|
||||||
<form id="pw-handler" action="" method="post">
|
<form id="pw-handler" action="" method="post">
|
||||||
|
<input type="hidden" name="_pw_nonce" value="<?php echo $nonce ?>" />
|
||||||
<input type="hidden" name="action" value="change-memberid" />
|
<input type="hidden" name="action" value="change-memberid" />
|
||||||
<table class="form-table">
|
<table class="form-table">
|
||||||
<tr>
|
<tr>
|
||||||
@ -42,6 +44,7 @@
|
|||||||
<?php if ($this->publisher_info !== false) { ?>
|
<?php if ($this->publisher_info !== false) { ?>
|
||||||
<h3><?php _e('Adbox Information', 'plugin-wonderful') ?></h3>
|
<h3><?php _e('Adbox Information', 'plugin-wonderful') ?></h3>
|
||||||
<form action="" method="post">
|
<form action="" method="post">
|
||||||
|
<input type="hidden" name="_pw_nonce" value="<?php echo $nonce ?>" />
|
||||||
<input type="hidden" name="action" value="change-adbox-settings" />
|
<input type="hidden" name="action" value="change-adbox-settings" />
|
||||||
<table class="widefat post fixed">
|
<table class="widefat post fixed">
|
||||||
<tr>
|
<tr>
|
||||||
@ -135,6 +138,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<form id="pw-handler" action="" method="post">
|
<form id="pw-handler" action="" method="post">
|
||||||
|
<input type="hidden" name="_pw_nonce" value="<?php echo $nonce ?>" />
|
||||||
<input type="hidden" name="action" value="rebuild-database" />
|
<input type="hidden" name="action" value="rebuild-database" />
|
||||||
<input type="submit" value="<?php _e('Destroy and Rebuild Database', 'plugin-wonderful') ?>" class="button" />
|
<input type="submit" value="<?php _e('Destroy and Rebuild Database', 'plugin-wonderful') ?>" class="button" />
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user