WordPress bug with capabilities?

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.

Read More

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…

Related posts

Leave a Reply

2 comments

  1. 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.