Unable to upload media with custom permissions
|Reported by:||havahula||Owned by:|
on the current version of wp-admin/media-upload.php there are now several checks to ensure that the user can edit the post using current_user_can( 'edit_post', $_REQUESTpost_id? ). it appears that there is a typo as the capability as it is written currently is 'edit_post' and it should be 'edit_posts', correct?
I noticed this on a site I manage where contributors have been given the capability to upload media but are no longer able to unless media-upload.php is edited to match their built-in capability.
Change History (4)
- Keywords reporter-feedback close added
- Summary changed from wp_capabilities typo? to Unable to upload media with custom permissions