Start work on custom fields
This commit is contained in:
@@ -248,7 +248,7 @@ function action_button($action, $name, $confirm_massage, $value_one)
|
||||
{
|
||||
echo '
|
||||
<form method="post" action="' . admin_url('admin-post.php') . '">
|
||||
' . wp_nonce_field($action . '_action', $action . '_nonce', true, false) . '
|
||||
' . wp_nonce_field("{$action}_action", "{$action}_nonce", true, false) . '
|
||||
<input type="hidden" name="action" value="' . $action . '">
|
||||
<input type="hidden" name="value_one" value="' . $value_one . '">
|
||||
<input type="submit" value="' . $name . '" class="button" onclick="return confirm(\'' . $confirm_massage . '\')">
|
||||
|
||||
Reference in New Issue
Block a user