Pass action to check_admin_referer hook.

git-svn-id: http://svn.automattic.com/wordpress/trunk@3761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-05-04 09:23:17 +00:00
parent 547a3c96d7
commit 63001676c3
1 changed files with 1 additions and 1 deletions

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