Skip to content

Commit

Permalink
[x] show_in_menu validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Elisa Losito committed Nov 6, 2020
1 parent 2e246bd commit da5019f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Aeria/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function getValidationStructure(): array
},
'show_in_menu' => function ($value) {
return [
'result' => is_bool($value),
'result' => is_bool($value) || is_string($value),
'message' => 'show_in_menu should be a bool',
];
},
Expand Down
2 changes: 1 addition & 1 deletion aeria.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: Aeria
* Plugin URI: https://github.com/caffeinalab/aeria
* Description: Aeria is a modular, lightweight, fast WordPress Application development kit.
* Version: 3.2.10
* Version: 3.2.14
* Author: Caffeina
* Author URI: https://caffeina.com
* Text Domain: aeria
Expand Down

0 comments on commit da5019f

Please sign in to comment.