Make WordPress Core

Changeset 56668


Ignore:
Timestamp:
09/23/2023 03:36:00 PM (12 months ago)
Author:
costdev
Message:

REST API: Correct spelling error in block_hooks field documentation.

In [56587], a spelling error was introduced in the documentation of the new block_hooks field in WP_REST_Block_Types_Controller.

This fixes the spelling error.

Follow-up to [56587].

Props kebbet, mukesh27, tahmina1du.
Fixes #59426. See #59346.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php

    r56587 r56668  
    709709                'example'               => $example_definition,
    710710                'block_hooks'           => array(
    711                     'description'       => __( 'This block is automatically inserted near any occurence of the block types used as keys of this map, into a relative position given by the corresponding value.' ),
     711                    'description'       => __( 'This block is automatically inserted near any occurrence of the block types used as keys of this map, into a relative position given by the corresponding value.' ),
    712712                    'type'              => 'object',
    713713                    'patternProperties' => array(
Note: See TracChangeset for help on using the changeset viewer.