Changeset 43755
- Timestamp:
- 10/18/2018 08:25:47 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php
r43445 r43755 82 82 } 83 83 } 84 return new WP_Error( 'rest_cannot_view', __( 'Sorry, you are not allowed to edit posts in this post type.' ), array( 'status' => rest_authorization_required_code() ) );84 return new WP_Error( 'rest_cannot_view', __( 'Sorry, you are not allowed to manage post statuses.' ), array( 'status' => rest_authorization_required_code() ) ); 85 85 } 86 86
Note: See TracChangeset
for help on using the changeset viewer.