Skip to content

Commit c5c97ac

Browse files
committed
tweak comments
1 parent 18609ee commit c5c97ac

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

class-pinterest-for-woocommerce.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ private function init_hooks() {
196196
add_filter( 'query_vars', array( $this, 'verification_query_var' ), 10, 1 );
197197
add_action( 'parse_request', array( $this, 'verification_request' ), 10, 1 );
198198

199-
// Allow access to our options through the REST API for user that can manage the store.
199+
// Allow access to our option through the REST API.
200200
add_filter( 'woocommerce_rest_api_option_permissions', array( $this, 'add_option_permissions' ), 10, 1 );
201201
}
202202

@@ -269,7 +269,8 @@ public function ajax_url() {
269269

270270

271271
/**
272-
* Allow access to our options through the REST API for user that can manage the store.
272+
* Allow access to our option through the REST API for a user that can manage the store.
273+
* The UI relies on this option being available through the API.
273274
*
274275
* @param array $permissions The permissions array.
275276
*

0 commit comments

Comments
 (0)