Move 'endif;' to its own line instead of having it room with a right curly brace. props dimadin. fixes #22586
git-svn-id: https://develop.svn.wordpress.org/trunk@23228 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5e8cd5433a
commit
654154ad89
@ -816,7 +816,8 @@ function check_admin_referer($action = -1, $query_arg = '_wpnonce') {
|
||||
}
|
||||
do_action('check_admin_referer', $action, $result);
|
||||
return $result;
|
||||
}endif;
|
||||
}
|
||||
endif;
|
||||
|
||||
if ( !function_exists('check_ajax_referer') ) :
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user