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
+4
View File
@@ -24,6 +24,8 @@ switch($action) {
case 'addcat':
check_admin_referer();
if ( !current_user_can('manage_categories') )
die (__('Cheatin’ uh?'));
@@ -93,6 +95,8 @@ case 'edit':
break;
case 'editedcat':
check_admin_referer();
if ( !current_user_can('manage_categories') )
die (__('Cheatin’ uh?'));