PluginProbe
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration / trunk
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration vtrunk
2.0.15 2.0.12 2.0.10 2.0.4 2.0.1 2.0.0 1.95.3 1.95.2 1.95 1.91.6 trunk 1.11 1.12 1.13 1.20 1.21 1.22 1.23 1.30 1.31 1.32 1.35 1.40 1.41 1.45 All 41 releases
← All changes | app/Services/Helper.php +5 -2 2.0.10trunk View file →
@@ -434,9 +434,10 @@
434 434
435 435 return $users;
436 436 }
437 437
438 - public static function sanitizeUsersArray($users, $boardId = null)
438 + // Callers formatting multiple lists may supply a resolved board-manager result.
439 + public static function sanitizeUsersArray($users, $boardId = null, $isBoardManager = null)
439 440 {
440 441 if (current_user_can('list_users')) {
441 442 return $users;
442 443 }
@@ -442,9 +443,9 @@
442 443 }
443 444
444 445 $sanitizedUsers = [];
445 446
446 - if(!PermissionManager::isBoardManager($boardId)) //Todo: may create permission security issue, will be modified later
447 + if (!($isBoardManager ?? PermissionManager::isBoardManager($boardId)))
447 448 {
448 449 $currentUser = wp_get_current_user();
449 450 if($currentUser && isset($currentUser->user_email)){
450 451 $currentUserEmail = $currentUser->user_email;
@@ -704,8 +705,9 @@
704 705 'deleted' => __('deleted', 'fluent-boards'),
705 706 'archived' => __('archived', 'fluent-boards'),
706 707 'restored' => __('restored', 'fluent-boards'),
707 708 'set' => __('set', 'fluent-boards'),
709 + 'moved' => __('moved', 'fluent-boards'),
708 710 ];
709 711
710 712 $columnTranslations = [
711 713 'task' => __('task', 'fluent-boards'),
@@ -725,8 +727,9 @@
725 727 'the associate email' => __('the associate email', 'fluent-boards'),
726 728 'attachment' => __('attachment', 'fluent-boards'),
727 729 'repeat task' => __('repeat task', 'fluent-boards'),
728 730 'Repeat Task' => __('Repeat Task', 'fluent-boards'),
731 + 'tasks' => __('tasks', 'fluent-boards'),
729 732 ];
730 733
731 734 foreach ($activities as $activity) {
732 735 $activity->action_key = $activity->action;