Skip to content
Snippets Groups Projects
Commit 5ac9be8b authored by Erick Hitter's avatar Erick Hitter
Browse files

Check nonce before doing anything

parent 235c360c
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,8 @@ class Main { ...@@ -19,7 +19,8 @@ class Main {
return; return;
} }
// TODO: nonce/referrer checks // Validate request
check_admin_referer( 'bulk-posts' );
// Parse request to determine what to do // Parse request to determine what to do
$vars = self::capture_vars(); $vars = self::capture_vars();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment