Make WordPress Core


Ignore:
Timestamp:
09/16/2020 07:21:03 PM (4 years ago)
Author:
helen
Message:

i18n: Ensure block type strings in the REST API end with a full stop.

Props ramiy, justinahinon.
Fixes #50805.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/class-wp-rest-server.php

    r48947 r48982  
    924924            $error = new WP_Error(
    925925                'rest_invalid_handler',
    926                 __( 'The handler for the route is invalid' ),
     926                __( 'The handler for the route is invalid.' ),
    927927                array( 'status' => 500 )
    928928            );
     
    10221022        return new WP_Error(
    10231023            '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.' ),
    10251025            array( 'status' => 404 )
    10261026        );
Note: See TracChangeset for help on using the changeset viewer.