Changeset 49927 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
- Timestamp:
- 01/03/2021 10:02:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
r49225 r49927 115 115 * 116 116 * @param WP_REST_Request $request Full details about the request. 117 * @return WP_Error| boolTrue if the request has read access, WP_Error object otherwise.117 * @return WP_Error|true True if the request has read access, WP_Error object otherwise. 118 118 */ 119 119 public function get_items_permissions_check( $request ) { … … 161 161 * 162 162 * @param WP_REST_Request $request Full details about the request. 163 * @return WP_Error| boolTrue if the request has read access for the item, WP_Error object otherwise.163 * @return WP_Error|true True if the request has read access for the item, WP_Error object otherwise. 164 164 */ 165 165 public function get_item_permissions_check( $request ) { … … 182 182 * @since 5.5.0 183 183 * 184 * @return WP_Error| boolTrue if the block type is visible, WP_Error otherwise.184 * @return WP_Error|true True if the block type is visible, WP_Error otherwise. 185 185 */ 186 186 protected function check_read_permission() {
Note: See TracChangeset
for help on using the changeset viewer.