[resolved] Crop windows show an error on people with Author-Role (3 posts)

  1. aelias
    Posted 3 years ago #

    Hello Volkmar Kantor,
    Sorry for my english
    My problem is: the crop window always show an error for the people with Author-Role. They cannot crop for example the featured image / thumbnail image. But if I change the role to Editor or Administrator, the crop window works. Is there an enable/disable setting for roles ? I can't find it.
    Thank You very much


  2. Volkmar Kantor
    Plugin Author

    Posted 3 years ago #

    Hi aelias,
    no worry i am also no native English speaker, and it feels my English is pretty bad. You are totaly fine to understand.

    Currently there is no possibility to change the Capabilities for the plugin from the settings.
    But you may have a look on line 397 in plugins/crop-thumbnails/functions/editor.php

    if(current_user_can('upload_files') && current_user_can('edit_pages')) {
    if(current_user_can('upload_files')) {

    this should solve your problem for now.

    I hope to get a setting entry or delete the "edit_pages" capability in the next version.

  3. aelias
    Posted 3 years ago #

    Hi Volkmar Kantor,
    YESSSSS it works now with the Author-Role.
    Thank you very very much.
    Best wishes !!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic