mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
fix user profile actions append
This commit is contained in:
@@ -74,8 +74,10 @@ class UserProfile extends Page
|
|||||||
$actions[] = $this->buildResetPasswordAction();
|
$actions[] = $this->buildResetPasswordAction();
|
||||||
$actions[] = $this->buildEnableDisableAction();
|
$actions[] = $this->buildEnableDisableAction();
|
||||||
$actions[] = $this->buildEnableDisableDownloadPrivilegesAction();
|
$actions[] = $this->buildEnableDisableDownloadPrivilegesAction();
|
||||||
|
|
||||||
|
$actions = apply_filter('user_profile_actions', $actions);
|
||||||
}
|
}
|
||||||
return apply_filter('user_profile_actions', $actions);
|
return $actions;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function buildEnableDisableAction(): Actions\Action
|
private function buildEnableDisableAction(): Actions\Action
|
||||||
|
|||||||
Reference in New Issue
Block a user