Opened 10 years ago
Closed 10 years ago
#29212 closed defect (bug) (wontfix)
Distraction-free Writing: hide Add Media button for users without `upload_files` capability
Reported by: | lancewillett | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | has-patch |
Focuses: | ui | Cc: |
Description
Similar to #28327, contributor users should not be able to see the "Add Media" button in Distraction Free Writing.
It causes user confusion because they can see the button, load the Media Library view, but cannot upload or use existing images.
To repeat:
- Log in as a contributor user.
- Edit a post (or start a new post)
- Switch to Distraction Free Writing mode
- View the "Add New Media" button in the editor tools
Screenshots and a screencast attached.
Attachments (4)
Change History (8)
This ticket was mentioned in IRC in #wordpress-dev by stephdau. View the logs.
10 years ago
Note: See
TracTickets for help on using
tickets.
Tested patch on RC2/trunk, works as advertised.