From 464026afbc077a967b72a05e1eeb5d7c5d3edd11 Mon Sep 17 00:00:00 2001 From: costdev Date: Sat, 23 Sep 2023 15:37:22 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/trunk@56668 git-svn-id: http://core.svn.wordpress.org/trunk@56180 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../rest-api/endpoints/class-wp-rest-block-types-controller.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php index cd174e4aaf..52f013a9d6 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php @@ -708,7 +708,7 @@ class WP_REST_Block_Types_Controller extends WP_REST_Controller { 'keywords' => $keywords_definition, 'example' => $example_definition, 'block_hooks' => array( - '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.' ), + '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.' ), 'type' => 'object', 'patternProperties' => array( '^[a-zA-Z0-9-]+/[a-zA-Z0-9-]+$' => array( diff --git a/wp-includes/version.php b/wp-includes/version.php index 6678b01a12..da60be1de2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56667'; +$wp_version = '6.4-alpha-56668'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.