better comment status description

This commit is contained in:
Jacson Passold 2018-08-21 01:00:11 -03:00
parent b6c9a16880
commit 7ffcef938d
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ class Collections extends Repository {
'map' => 'comment_status',
'title' => __( 'Comment Status', 'tainacan' ),
'type' => 'string',
'description' => __( 'The status of collection comment, if is allowed, so is "open", or is "closed".', 'tainacan' ),
'description' => __( 'The status of collection comment, if is "open" the comments are allowed for collection items, or is "closed" for deny comments to Items.', 'tainacan' ),
'default' => get_default_comment_status(Entities\Collection::get_post_type()),
'validation' => v::optional(v::stringType()->in( [ 'open', 'closed' ] )),
]