Hard coded restricted to administrator role
-
Hi,
Nice plugin, exactly what i was looking for. I’m running it on a production site now. It has users that have custom manager roles. They cannot use the plugin.
I changed the main plugin file (wp-email-users.php):
Row 221: if(current_user_can( ‘manage_options’ )) { //if($user_roles[0]==’administrator’) {
Row 1309: if(current_user_can( ‘manage_options’ )) { //if($user_roles[0]==’administrator’) {The custom manager roles are able to use the plugin now. Can this be included in future updates?
Regards,
Bjorn
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Hard coded restricted to administrator role’ is closed to new replies.