Changeset 52236 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php
- Timestamp:
- 11/23/2021 09:35:57 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php
r51786 r52236 52 52 53 53 /** 54 * Checks whether a given request has permission to view the local pattern directory.54 * Checks whether a given request has permission to view the local block pattern directory. 55 55 * 56 56 * @since 5.8.0 … … 197 197 198 198 /** 199 * Prepare a raw pattern before it's output in anAPI response.199 * Prepare a raw block pattern before it gets output in a REST API response. 200 200 * 201 201 * @since 5.8.0 … … 224 224 225 225 /** 226 * Filters the REST API response for a pattern.226 * Filters the REST API response for a block pattern. 227 227 * 228 228 * @since 5.8.0 229 229 * 230 230 * @param WP_REST_Response $response The response object. 231 * @param object $raw_pattern The unprepared pattern.231 * @param object $raw_pattern The unprepared block pattern. 232 232 * @param WP_REST_Request $request The request object. 233 233 */ … … 236 236 237 237 /** 238 * Retrieves the pattern's schema, conforming to JSON Schema.238 * Retrieves the block pattern's schema, conforming to JSON Schema. 239 239 * 240 240 * @since 5.8.0 … … 308 308 309 309 /** 310 * Retrieves the search param s for the patterns collection.310 * Retrieves the search parameters for the block pattern's collection. 311 311 * 312 312 * @since 5.8.0 … … 337 337 338 338 /** 339 * Filter collection parameters for the pattern directory controller.339 * Filter collection parameters for the block pattern directory controller. 340 340 * 341 341 * @since 5.8.0
Note: See TracChangeset
for help on using the changeset viewer.