WordPress.org

Support

Support » Plugins and Hacks » How to grant editors the ability to approve/unapprove ?

How to grant editors the ability to approve/unapprove ?

  • Hello,
    First: thanks for that great work.
    Second: please excuse my english …

    The hardcoded capability needed to (un)approve is promote_users :

    if ( ! current_user_can( 'promote_users' ) ) {
        wp_die( __( 'You can’t unapprove users.', 'wp-approve-user' ) );
    }

    Since WP allow Editors to promote themselves Admin with the promote_users permission … I could use the JBP class but I’d rather keep that perm for administrator use only.

    A capability opt-in could be a cool feature but maybe I miss another way to do it.

    PS: happy festive season to anyone who read that line 🙂

    http://wordpress.org/plugins/wp-approve-user/

  • The topic ‘How to grant editors the ability to approve/unapprove ?’ is closed to new replies.