Pass action to check_admin_referer hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@3761 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7a2c1664ee
commit
27b9cbad2a
@ -254,7 +254,7 @@ function check_admin_referer($action = -1) {
|
||||
|
||||
die($html);
|
||||
}
|
||||
do_action('check_admin_referer');
|
||||
do_action('check_admin_referer', $action);
|
||||
}endif;
|
||||
|
||||
if ( !function_exists('check_ajax_referer') ) :
|
||||
|
Loading…
Reference in New Issue
Block a user