Skip to content

Commit fe9a06a

Browse files
committed
update comment
1 parent d1f7fb0 commit fe9a06a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/suggested-tasks/providers/class-tasks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ public function evaluate_task( $task_id ) {
402402
}
403403

404404
if ( ! $this->is_repetitive() ) {
405-
// TODO: Collaborator tasks have custom task_ids.
405+
// Collaborator tasks have custom task_ids, so strpos check does not work for them.
406406
if ( ! $task->task_id || ( 0 !== strpos( $task->task_id, $this->get_task_id() ) && 'collaborator' !== $this->get_provider_id() ) ) {
407407
return false;
408408
}

0 commit comments

Comments
 (0)