- Timestamp:
- 01/03/2021 10:02:13 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r49922 r49927 141 141 * 142 142 * @param WP_REST_Request $request Full details about the request. 143 * @return bool|WP_Error True if the request has read access, otherwise false or WP_Error object.143 * @return true|WP_Error True if the request has read access, otherwise false or WP_Error object. 144 144 */ 145 145 public function get_items_permissions_check( $request ) { … … 348 348 * 349 349 * @param WP_REST_Request $request Full details about the request. 350 * @return bool|WP_Error True if the request has read access for the item, otherwise false or WP_Error object.350 * @return true|WP_Error True if the request has read access for the item, otherwise false or WP_Error object. 351 351 */ 352 352 public function get_item_permissions_check( $request ) { … … 393 393 * 394 394 * @param WP_REST_Request $request Full details about the request. 395 * @return bool|WP_Error True if the request has access to create items, false or WP_Error object otherwise.395 * @return true|WP_Error True if the request has access to create items, false or WP_Error object otherwise. 396 396 */ 397 397 public function create_item_permissions_check( $request ) { … … 529 529 * 530 530 * @param WP_REST_Request $request Full details about the request. 531 * @return bool|WP_Error True if the request has access to update the item, false or WP_Error object otherwise.531 * @return true|WP_Error True if the request has access to update the item, false or WP_Error object otherwise. 532 532 */ 533 533 public function update_item_permissions_check( $request ) { … … 630 630 * 631 631 * @param WP_REST_Request $request Full details about the request. 632 * @return bool|WP_Error True if the request has access to delete the item, otherwise false or WP_Error object.632 * @return true|WP_Error True if the request has access to delete the item, otherwise false or WP_Error object. 633 633 */ 634 634 public function delete_item_permissions_check( $request ) {
Note: See TracChangeset
for help on using the changeset viewer.