- Timestamp:
- 08/18/2023 05:44:29 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r56193 r56415 476 476 * 477 477 * @param WP_REST_Request $request Full details about the request. 478 * @return true|WP_Error True if the request has read access for the item, WP_Error objectotherwise.478 * @return bool|WP_Error True if the request has read access for the item, WP_Error object or false otherwise. 479 479 */ 480 480 public function get_item_permissions_check( $request ) { … … 1507 1507 * @param string $template Page template filename. 1508 1508 * @param WP_REST_Request $request Request. 1509 * @return bool|WP_Error True if template is still valid or if the same as existing value, or falseif template not supported.1509 * @return true|WP_Error True if template is still valid or if the same as existing value, or a WP_Error if template not supported. 1510 1510 */ 1511 1511 public function check_template( $template, $request ) {
Note: See TracChangeset
for help on using the changeset viewer.