mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Doh. fixes #4292
git-svn-id: http://svn.automattic.com/wordpress/trunk@5496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7a3c62d0dd
commit
4e6e08e11d
@ -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