Skip to content

Commit d1530f6

Browse files
committed
Change the priorities of Yoast tasks
1 parent d15f940 commit d1530f6

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

classes/suggested-tasks/providers/integrations/yoast/class-cornerstone-workout.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Cornerstone_Workout extends Yoast_Provider {
4242
*
4343
* @var int
4444
*/
45-
protected $priority = self::PRIORITY_OPTIONAL + 10;
45+
protected $priority = self::PRIORITY_HIGH;
4646

4747
/**
4848
* Whether the task is dismissable.

classes/suggested-tasks/providers/integrations/yoast/class-orphaned-content-workout.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Orphaned_Content_Workout extends Yoast_Provider {
4242
*
4343
* @var int
4444
*/
45-
protected $priority = self::PRIORITY_OPTIONAL + 10;
45+
protected $priority = self::PRIORITY_HIGH;
4646

4747
/**
4848
* Whether the task is dismissable.

classes/suggested-tasks/providers/integrations/yoast/class-yoast-provider.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ abstract class Yoast_Provider extends Tasks {
2121
*/
2222
protected const IS_ONBOARDING_TASK = false;
2323

24+
/**
25+
* The task priority.
26+
*
27+
* @var int
28+
*/
29+
protected $priority = self::PRIORITY_HIGH;
30+
2431
/**
2532
* Get the focus tasks.
2633
*

0 commit comments

Comments
 (0)