Skip to content

Commit b285ed3

Browse files
committed
Allow Editors to send notifications
1 parent 228b1af commit b285ed3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/bcc-login/includes/class-bcc-notifications.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function register_send_notifications_endpoint() {
3333
}
3434
},
3535
'permission_callback' => function () {
36-
return current_user_can('manage_options');
36+
return current_user_can('edit_posts');
3737
},
3838
));
3939
}

0 commit comments

Comments
 (0)