Doh. fixes #4292
git-svn-id: https://develop.svn.wordpress.org/trunk@5496 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2b9d09d88e
commit
543cda098a
@ -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' );
|
||||
|
Loading…
Reference in New Issue
Block a user