Fixes type error of enabled_post_types attribute
This commit is contained in:
parent
aac9d2b85b
commit
ffe086d417
|
@ -68,7 +68,7 @@ class Taxonomies extends Repository {
|
||||||
'enabled_post_types' => [
|
'enabled_post_types' => [
|
||||||
'map' => 'meta_multi',
|
'map' => 'meta_multi',
|
||||||
'title' => __( 'Enabled for post types', 'tainacan' ),
|
'title' => __( 'Enabled for post types', 'tainacan' ),
|
||||||
'type' => 'string',
|
'type' => 'array/string',
|
||||||
'description' => __( 'Also enable this taxonomy for other WordPress post types', 'tainacan' ),
|
'description' => __( 'Also enable this taxonomy for other WordPress post types', 'tainacan' ),
|
||||||
'on_error' => __( 'Error enabling this taxonomy for post types', 'tainacan' ),
|
'on_error' => __( 'Error enabling this taxonomy for post types', 'tainacan' ),
|
||||||
'validation' => '',
|
'validation' => '',
|
||||||
|
|
Loading…
Reference in New Issue