WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

EDIT: aha! It appears to be the "Role Scoper" plugin causing this problem. Deactivating it restored the functionality. Consider this question null.

I've enabled the capability of uploading files for contributors.

However, I found a problem. When the contributor start a brand new post, he will see the "Upload/Insert" icons right above the post edit box.

However, if the contributor saves a draft then comes back later, then those icons will be gone!

I used the "Capability Manager" plugin to modify the contributor capabilities. I'll try another plugin and see if it makes a difference...

EDIT: nope, it doesn't make a difference. THe capabilities are stored in the database, and deactivating plugins leaves the capabilities as they were (they stay modified)...

This appears to be a wordpress bug. I'm gunna file a bug repot...

share|improve this question

Activate the plugin again, reset your caps to default. I guess the problem is the plugin - not wp. Maybe it misses to add some capability.

Best would be to try to take a look at the capabilites that are assigned to the different roles.

How-to inspect current user data the smart way

Create an account for both roles (admin and contributer) and then var_dump their capabilites with something like my old Current User Deamon Plugin. Just take a look at the capabilites, diff them and then add everything that's needed per hand.

share|improve this answer
Hey, thanks for the reply Kaiser. The problem is that contributors don't have the upload_files cap by default. I have added that cap to contributors. Adding the upload_files cap made the Upload/Insert icons appear initially (when making a new post), but fails to make the icons appear when editing a draft. – trusktr Jun 27 '11 at 2:14
It actually does seem like a bug with WP because enabling the upload_files cap for contributors should work in all cases (including editing a draft)... Should I delete this question? – trusktr Jun 27 '11 at 2:23
No, never delete your Q. In case this really is a bug (which I doubt) you should only add a tag for the wordpress version and write it in your Q. That's just for the case that the bug doesn't get solved, or someone uses the same version as you and is searching for a solution. – kaiser Jun 27 '11 at 10:09
Why I don't think it's a "bug": Other users can do the same without problems. The sys is built out of capability checks, so I say it's a config issue on your side :) – kaiser Jun 27 '11 at 10:17
Indeed, it was a plugin called "Role Scoper" causing the issue. – trusktr Jun 28 '11 at 23:54

Try deactivating the "Role Scoper" plugin or any other plugins that could potentially be causing the problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.