ability to specify action for generateToken() method
This commit is contained in:
@@ -161,7 +161,7 @@ class Widget extends \WP_Widget {
|
||||
);
|
||||
|
||||
// generate security token
|
||||
$data['token'] = Security::generateToken();
|
||||
$data['token'] = Security::generateToken('subscribers_subscribe');
|
||||
|
||||
// render form
|
||||
$renderer = new Renderer();
|
||||
|
Reference in New Issue
Block a user