Allowing user to edit posts based on the post status
Allowing user to edit posts based on the post status
Allowing user to edit posts based on the post status
This appeared to be the result of (what I assume) was the User Role Editor plugin being updated, and then directly affecting the wp_user_role field on the options table of the database, which somehow led to DISALLOW_FILE_EDIT being ignored. I had to take several steps to fix this, as there were custom user roles I … Read more
This will remove the option to change user group except if this is the administrator. The Codex states: While checking against particular roles in place of a capability is supported in part, this practice is discouraged as it may produce unreliable results. For this reason, I check for activate_plugins capability that normally only Admins will … Read more
if your website has users granted the edit_posts capability but not the publish_posts capability, then when those users start writing a new post, WordPress will display a “Submit for Review” button instead of a “Publish” button. Likewise, WordPress then assigns the post that user created the pending status when they press that button. This is … Read more
How to change a user’s role conditionally to expire after two weeks
How to create user specific pages (not user role!)?
bbPress plugin moderator roles
How can I add a custom role capability to use in a custom plugin?
Note that allowing iframes directly in a post content area can be dangerous, that’s why they’re stripped out for security reasons. Super admins on multisites or administrators on single sites have the unfiltered_html capability, and can insert anything they please into a post content area, but this is dangerous. For example, granting your author this … Read more
Subscriber (with read permissions) cannot view Private posts