Changeset 48982
- Timestamp:
- 09/16/2020 07:21:03 PM (4 years ago)
- Location:
- trunk/src/wp-includes/rest-api
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r48947 r48982 924 924 $error = new WP_Error( 925 925 'rest_invalid_handler', 926 __( 'The handler for the route is invalid ' ),926 __( 'The handler for the route is invalid.' ), 927 927 array( 'status' => 500 ) 928 928 ); … … 1022 1022 return new WP_Error( 1023 1023 'rest_no_route', 1024 __( 'No route was found matching the URL and request method ' ),1024 __( 'No route was found matching the URL and request method.' ), 1025 1025 array( 'status' => 404 ) 1026 1026 ); -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php
r48437 r48982 52 52 'context' => $this->get_context_param( array( 'default' => 'view' ) ), 53 53 'attributes' => array( 54 'description' => __( 'Attributes for the block ' ),54 'description' => __( 'Attributes for the block.' ), 55 55 'type' => 'object', 56 56 'default' => array(), -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
r48173 r48982 88 88 'args' => array( 89 89 'name' => array( 90 'description' => __( 'Block name ' ),90 'description' => __( 'Block name.' ), 91 91 'type' => 'string', 92 92 ), 93 93 'namespace' => array( 94 'description' => __( 'Block namespace ' ),94 'description' => __( 'Block namespace.' ), 95 95 'type' => 'string', 96 96 ),
Note: See TracChangeset
for help on using the changeset viewer.