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:
Ryan Boren 2006-05-04 09:23:17 +00:00
parent 7a2c1664ee
commit 27b9cbad2a

View File

@ -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') ) :