From 4e6e08e11d9a7aa2f1dd3da9b5bdc64c1f2d88af 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: http://svn.automattic.com/wordpress/trunk@5496 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 f3b90df86..a8d469e3b 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' );