Skip to content

Commit 909a6aa

Browse files
committed
add priority expclitly
1 parent 2520780 commit 909a6aa

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

classes/suggested-tasks/providers/class-reduce-autoloaded-options.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ class Reduce_Autoloaded_Options extends Tasks_Interactive {
6868
*/
6969
private $autoloaded_options_threshold = 10; // TODO: 10 is just for testing purposes.
7070

71+
/**
72+
* The task priority.
73+
*
74+
* Tasks are ordered from lowest to highest priority value (0 = highest priority, 100 = lowest priority).
75+
* Use the PRIORITY_* constants defined in this class for consistency.
76+
*
77+
* @var int
78+
*/
79+
protected $priority = 50;
80+
7181
/**
7282
* The plugin path.
7383
*

0 commit comments

Comments
 (0)