From 89dd8ff40dd2fb4731969bd3c639d8cce7f86517 Mon Sep 17 00:00:00 2001 From: Jacson Passold Date: Tue, 12 Jun 2018 21:28:25 -0300 Subject: [PATCH] fix schema error --- src/classes/repositories/class-tainacan-collections.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/classes/repositories/class-tainacan-collections.php b/src/classes/repositories/class-tainacan-collections.php index 562b005c0..00402ffcf 100644 --- a/src/classes/repositories/class-tainacan-collections.php +++ b/src/classes/repositories/class-tainacan-collections.php @@ -136,6 +136,7 @@ class Collections extends Repository { 'type' => 'array', 'description' => __( 'Which visualization modes will be available for the public to choose from', 'tainacan' ), 'default' => ['table', 'cards'], + 'items' => [ 'type' => 'string' ], //'validation' => v::stringType(), ], 'metadata_order' => [