Skip to content

Commit

Permalink
Fix typos in copy (#11161)
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk authored and jeherve committed Jan 23, 2019
1 parent 5b7ad5f commit 75d9618
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _inc/lib/core-api/wpcom-endpoints/service-api-keys.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* [
* { # Availabilty Object. See schema for more detail.
* code: (string) Displays success if the oppration was successfully executed and an error code if it was not
* code: (string) Displays success if the operation was successfully executed and an error code if it was not
* service: (string) The name of the service in question
* service_api_key: (string) The API key used by the service empty if one is not set yet
* message: (string) User friendly message
Expand Down Expand Up @@ -78,15 +78,15 @@ public function get_public_item_schema() {
'type' => 'object',
'properties' => array(
'code' => array(
'description' => __( 'Displays success if the oppration was successfully executed and an error code if it was not', 'jetpack' ),
'description' => __( 'Displays success if the operation was successfully executed and an error code if it was not', 'jetpack' ),
'type' => 'string',
),
'service' => array(
'description' => __( 'The name of the service in question', 'jetpack' ),
'type' => 'string',
),
'service_api_key' => array(
'description' => __( 'The API key used by the service empty if one is not set yet', 'jetpack' ),
'description' => __( 'The API key used by the service. Empty if none has been set yet', 'jetpack' ),
'type' => 'string',
),
'message' => array(
Expand Down Expand Up @@ -278,4 +278,4 @@ private static function key_for_api_service( $service ) {
}
}

wpcom_rest_api_v2_load_plugin( 'WPCOM_REST_API_V2_Endpoint_Service_API_Keys' );
wpcom_rest_api_v2_load_plugin( 'WPCOM_REST_API_V2_Endpoint_Service_API_Keys' );

0 comments on commit 75d9618

Please sign in to comment.