linjian001
Member
Posted 3 months 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/
Pedro Elsner
Member
Plugin Author
Posted 3 months 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