Ref checks from mdawaffe.

git-svn-id: http://svn.automattic.com/wordpress/trunk@3665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2006-03-30 23:12:54 +00:00
parent a7337fded7
commit 805df2b129
11 changed files with 27 additions and 3 deletions

View File

@@ -32,6 +32,8 @@ switch($action) {
case 'update':
check_admin_referer();
if ( ! current_user_can('moderate_comments') )
die('<p>'.__('Your level is not high enough to moderate comments.').'</p>');