Skip to content

Commit

Permalink
Merge pull request #174 from Emilia-Capital/filip/fix-missed-pr-merge
Browse files Browse the repository at this point in the history
Put back missing code after the merge
  • Loading branch information
aristath authored Dec 10, 2024
2 parents e598ad0 + 6c56a6e commit d3f2eeb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classes/widgets/class-suggested-tasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ public function enqueue_scripts() {
$task_details['action'] = 'celebrate';
$tasks['details'][] = $task_details;
}

// Mark the pending celebration tasks as completed.
\progress_planner()->get_suggested_tasks()->transition_task_status( $task_id, 'pending_celebration', 'completed' );
}

// Localize the script.
Expand Down

0 comments on commit d3f2eeb

Please sign in to comment.