WordPress.org

Ready to get started?Download WordPress

Forums

Force Regenerate Thumbnails
[resolved] Is there a way to let non-admin users can use this plugin too? (2 posts)

  1. linjian001
    Member
    Posted 1 year ago #

    If I log in as administrator I can use the plugin normally, if I log in as a non administrator maybe I'm not able to use renerate plugin due to role permission.Is there a way to let non-admin users can use this plugin too?

    thank you very much.

    http://wordpress.org/extend/plugins/force-regenerate-thumbnails/

  2. Pedro Elsner
    Member
    Plugin Author

    Posted 1 year ago #

    So... I do this for more security. But if you want, you can change this in the (force-regenerate-thumbinails.php):

    Line 54:
    $this->capability = apply_filters('regenerate_thumbs_cap', 'manage_options');

    Change to this:
    $this->capability = apply_filters('regenerate_thumbs_cap', 'edit_published_posts');

    Here you can find the WP-Capability table:
    http://codex.wordpress.org/Roles_and_Capabilities

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.