mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-24 23:34:30 +00:00
Ref checks from mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@3665 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -34,6 +34,8 @@ switch($action) {
|
||||
|
||||
case 'update':
|
||||
|
||||
check_admin_referer();
|
||||
|
||||
if ( !current_user_can('edit_plugins') )
|
||||
die('<p>'.__('You have do not have sufficient permissions to edit templates for this blog.').'</p>');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user