Move 'endif;' to its own line instead of having it room with a right curly brace. props dimadin. fixes #22586
git-svn-id: http://core.svn.wordpress.org/trunk@23228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
78d6345d88
commit
3c0d96524c
|
@ -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