Fix highlighting of the whole page while dragging a sortable in WebKit, ajax tag cloud for non-admin users
git-svn-id: http://svn.automattic.com/wordpress/trunk@10849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -564,7 +564,7 @@ case 'add-tag' : // From Manage->Tags
|
||||
$x->send();
|
||||
break;
|
||||
case 'get-tagcloud' :
|
||||
if ( !current_user_can( 'manage_categories' ) )
|
||||
if ( !current_user_can( 'edit_posts' ) )
|
||||
die('-1');
|
||||
|
||||
if ( isset($_POST['tax']) )
|
||||
|
||||
Reference in New Issue
Block a user