Ready to get started?Download WordPress


Loco Translate
[resolved] Enable Loco Plugin for Editors (or other user roles) (3 posts)

  1. jun9e
    Posted 3 months ago #

    normally i don´t want to copy&paste the translations into the plugin, if my editors can do it on the fly.

    I would like to know how i can change the admin capability to the 'edit pages' capability. I can see at your @todo

    if( current_user_can(Loco::CAPABILITY) ){
                    // @todo font end functionality

    that you thought about this already.

    I´m glad for any help :)


  2. timwhitlock
    Plugin Author

    Posted 3 months ago #

    As you can probably see, the manage_options capability is required because altering files on disk within themes and plugins is a privileged operation that I thought should be reserved for admins.

    I'll have to add a filter for you to override this to use a lower privilege like edit_posts. I can put this on my todo list, but can't guarantee a timeline for implementing.

    In the mean time I think your only option is top hack the plugin code. The line is here:

  3. jun9e
    Posted 3 months ago #

    thank you.
    works fine temporarly.


You must log in to post.

About this Plugin

About this Topic