Skip to content

Commit b9f28df

Browse files
authored
Merge pull request #580 from ProgressPlanner/filip/fix-user-task-pending
Remove activity when completed user (todo) task is set back to pending state
2 parents 2ce5bf1 + d357f8c commit b9f28df

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Bugs we fixed:
88
* Make interactive tasks work on WP dashboard screen
99
* Exclude taxonomies which are marked as not indexable in Yoast SEO
1010
* Improve completed task check for "Unpublished content" task
11+
* Remove awarded point if the golden todo task is set back to pending status
1112
* Fix "Delete the 'Sample Page' page" interactive task
1213
* Remove 3rd party plugin tasks if they are deactivated.
1314

classes/class-suggested-tasks.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ public function suggested_task_action() {
241241
$updated = true;
242242
break;
243243

244+
case 'pending': // User task was marked as pending.
244245
case 'delete':
245246
$this->delete_activity( $task->task_id );
246247
$updated = true;

readme.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ Bugs we fixed:
120120
* Make interactive tasks work on WP dashboard screen
121121
* Exclude taxonomies which are marked as not indexable in Yoast SEO
122122
* Improve completed task check for "Unpublished content" task
123+
* Remove awarded point if the golden todo task is set back to pending status
123124
* Fix "Delete the 'Sample Page' page" interactive task
124125
* Remove 3rd party plugin tasks if they are deactivated.
125126

0 commit comments

Comments
 (0)