[REST API] Fixed batch permissions for posts

This commit is contained in:
Claudio Sanches 2016-05-22 17:46:25 -03:00
parent a7d52e9bf3
commit e91631d540
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ function wc_rest_check_post_permissions( $post_type, $context = 'read', $object_
'create' => 'publish_posts',
'edit' => 'edit_post',
'delete' => 'delete_post',
'batch' => 'edit_post',
'batch' => 'edit_others_posts',
);
if ( 'revision' === $post_type ) {