Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Franz Josef Kaiser committed Oct 12, 2015
2 parents d883d17 + b6bc468 commit 71e69b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Views/UploadView.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function setup()
is_admin()
&& (
! current_user_can( 'upload_files' )
or ! current_user_can( 'edit_user' )
or ( ! IS_PROFILE_PAGE && ! current_user_can( 'edit_users' ) )
or ! in_array( get_current_screen()->base, [
'profile',
'user-edit',
Expand Down

0 comments on commit 71e69b9

Please sign in to comment.