[wp-trac] [WordPress Trac] #25395: Potential bug of uploading images using media-upload
WordPress Trac
noreply at wordpress.org
Mon Feb 17 08:16:21 UTC 2014
#25395: Potential bug of uploading images using media-upload
--------------------------+-----------------------
Reporter: alucard001 | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Upload | Version: 3.6.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+-----------------------
Changes (by alucard001):
* status: closed => reopened
* resolution: invalid =>
Comment:
Replying to [comment:1 markoheijnen]:
> In this case the capability name is correct. In this case it checks if
the user can attach the image to a post. So users aren't allowed to upload
images unless they have the capability 'upload_files'. When they want to
attach the image to a post it needs 'edit_posts' or 'edit_others_posts' if
it isn't their post
Thanks for your reply, Mark.
Your reason about post and attachment is understood, what I am going after
is the name: there is no such right as "'''edit_post'''", only
"'''edit_posts'''".
http://codex.wordpress.org/Roles_and_Capabilities#edit_posts
And this problem still exists in 3.8.1, line 37
Thank you.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25395#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list