Changeset 48982 for trunk/src/wp-includes/rest-api/class-wp-rest-server.php
- Timestamp:
- 09/16/2020 07:21:03 PM (4 years ago)
- File:
-
- 1 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 );
Note: See TracChangeset
for help on using the changeset viewer.