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/endpoints/class-wp-rest-block-renderer-controller.php

    r48437 r48982  
    5252                        'context'    => $this->get_context_param( array( 'default' => 'view' ) ),
    5353                        'attributes' => array(
    54                             'description'       => __( 'Attributes for the block' ),
     54                            'description'       => __( 'Attributes for the block.' ),
    5555                            'type'              => 'object',
    5656                            'default'           => array(),
Note: See TracChangeset for help on using the changeset viewer.