fix: register referral operations for administrators
This commit is contained in:
1 parent
9d4ce5d036
commit
566d39c3ae
5 files changed
+11
-28
No files matched your search
@@ -389,7 +389,7 @@ final class ReferralAttribution {
|
||||
}
|
||||
|
||||
public function can_manage_codes(): bool {
|
||||
return current_user_can('manage_users');
|
||||
return current_user_can('edit_users');
|
||||
}
|
||||
|
||||
public function rest_me(): \WP_REST_Response {
|
||||
|
||||
Reference in new issue
Block a user