Fixes type error of enabled_post_types attribute

This commit is contained in:
weryques 2019-01-21 11:08:44 -02:00
parent aac9d2b85b
commit ffe086d417
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class Taxonomies extends Repository {
'enabled_post_types' => [
'map' => 'meta_multi',
'title' => __( 'Enabled for post types', 'tainacan' ),
'type' => 'string',
'type' => 'array/string',
'description' => __( 'Also enable this taxonomy for other WordPress post types', 'tainacan' ),
'on_error' => __( 'Error enabling this taxonomy for post types', 'tainacan' ),
'validation' => '',