- Timestamp:
- 11/17/2016 03:52:18 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r39266 r39278 547 547 548 548 if ( ! current_user_can( 'delete_term', $term->term_id ) ) { 549 return new WP_Error( 'rest_cannot_delete', __( 'Sorry, you are not allowed to delete resource.' ), array( 'status' => rest_authorization_required_code() ) );549 return new WP_Error( 'rest_cannot_delete', __( 'Sorry, you are not allowed to delete this resource.' ), array( 'status' => rest_authorization_required_code() ) ); 550 550 } 551 551 … … 824 824 ), 825 825 'link' => array( 826 'description' => __( 'URL tothe resource.' ),826 'description' => __( 'URL of the resource.' ), 827 827 'type' => 'string', 828 828 'format' => 'uri',
Note: See TracChangeset
for help on using the changeset viewer.