Make WordPress Core


Ignore:
Timestamp:
09/16/2020 07:21:03 PM (6 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/endpoints/class-wp-rest-block-types-controller.php

    r48173 r48982  
    8888                                'args'   => array(
    8989                                        'name'      => array(
    90                                                 'description' => __( 'Block name' ),
     90                                                'description' => __( 'Block name.' ),
    9191                                                'type'        => 'string',
    9292                                        ),
    9393                                        'namespace' => array(
    94                                                 'description' => __( 'Block namespace' ),
     94                                                'description' => __( 'Block namespace.' ),
    9595                                                'type'        => 'string',
    9696                                        ),
Note: See TracChangeset for help on using the changeset viewer.