- Timestamp:
- 11/20/2016 10:35:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r39289 r39322 588 588 589 589 if ( $post && ! $this->check_update_permission( $post ) ) { 590 return new WP_Error( 'rest_cannot_edit', __( 'Sorry, you are not allowed to updatethis post.' ), array( 'status' => rest_authorization_required_code() ) );590 return new WP_Error( 'rest_cannot_edit', __( 'Sorry, you are not allowed to edit this post.' ), array( 'status' => rest_authorization_required_code() ) ); 591 591 } 592 592
Note: See TracChangeset
for help on using the changeset viewer.