-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update priority tasks in kernel, and avoid error in terms field
- Loading branch information
Alberto Parziale
committed
Mar 12, 2020
1 parent
e29a56f
commit 4c40c9a
Showing
2 changed files
with
28 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,25 +6,24 @@ | |
|
||
/** | ||
* This task is in charge of creating the taxonomies. | ||
* | ||
* | ||
* @category Kernel | ||
* @package Aeria | ||
* | ||
* @author Simone Montali <[email protected]> | ||
* @license https://github.com/caffeinalab/aeria/blob/master/LICENSE MIT license | ||
* @link https://github.com/caffeinalab/aeria | ||
* | ||
* @see https://github.com/caffeinalab/aeria | ||
*/ | ||
class CreateTaxonomy extends Task | ||
{ | ||
public $priority = 3; | ||
public $priority = 1; | ||
public $admin_only = false; | ||
|
||
/** | ||
* The main task method. It registers the needed taxonomies. | ||
* | ||
* @param array $args the arguments to be passed to the Task | ||
* | ||
* @return void | ||
* | ||
* @access public | ||
* @since Method available since Release 3.0.0 | ||
*/ | ||
public function do(array $args) | ||
|
@@ -40,5 +39,4 @@ public function do(array $args) | |
} | ||
} | ||
} | ||
|
||
} | ||
} |