Allow Editors to edit pending posts but not draft ones
This is actually not hard. To add a new capability, call WP_Roles->add_cap(). You have to do this just once, because it will be stored in the database. So we use a plugin activation hook. Note to other readers: All of the following code is plugin territory. register_activation_hook( __FILE__, ‘epp_add_cap’ ); /** * Add new capability … Read more