From 543cda098ab6e5aab8ac39d956a6c1803a40862c Mon Sep 17 00:00:00 2001 From: rob1n Date: Sat, 19 May 2007 23:44:37 +0000 Subject: [PATCH] Doh. fixes #4292 git-svn-id: https://develop.svn.wordpress.org/trunk@5496 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/widgets.php b/wp-admin/widgets.php index f3b90df863..a8d469e3bc 100644 --- a/wp-admin/widgets.php +++ b/wp-admin/widgets.php @@ -2,7 +2,7 @@ require_once 'admin.php'; -if ( ! current_user_can('edit_themes') ) +if ( ! current_user_can('switch_themes') ) wp_die( __( 'Cheatin’ uh?' )); wp_enqueue_script( 'scriptaculous-effects' );