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:
parent
547a3c96d7
commit
63001676c3
|
@ -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