From bc0dcceccb661003dfff267cbe5672d2ea91da64 Mon Sep 17 00:00:00 2001 From: Shail Mehta Date: Sun, 5 May 2024 13:28:34 +0530 Subject: [PATCH] Several Typo Correction in Inline doc (#61379) Co-authored-by: shail-mehta Co-authored-by: skorasaurus Co-authored-by: Mamaduka --- lib/compat/wordpress-6.4/block-hooks.php | 2 +- lib/compat/wordpress-6.5/fonts/class-wp-font-utils.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compat/wordpress-6.4/block-hooks.php b/lib/compat/wordpress-6.4/block-hooks.php index 46115d5b6c629c..f77582caf13454 100644 --- a/lib/compat/wordpress-6.4/block-hooks.php +++ b/lib/compat/wordpress-6.4/block-hooks.php @@ -290,7 +290,7 @@ function gutenberg_register_block_hooks_rest_field() { 'block_hooks', array( 'schema' => 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.', 'gutenberg' ), + '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.', 'gutenberg' ), 'type' => 'object', 'patternProperties' => array( '^[a-zA-Z0-9-]+/[a-zA-Z0-9-]+$' => array( diff --git a/lib/compat/wordpress-6.5/fonts/class-wp-font-utils.php b/lib/compat/wordpress-6.5/fonts/class-wp-font-utils.php index 4a445cd8ae3f77..d794a2601f45d5 100644 --- a/lib/compat/wordpress-6.5/fonts/class-wp-font-utils.php +++ b/lib/compat/wordpress-6.5/fonts/class-wp-font-utils.php @@ -162,7 +162,7 @@ function ( $elem ) { * The schema structure should mirror the data tree. Each value provided in the * schema should be a callable that will be applied to sanitize the corresponding * value in the data tree. Keys that are in the data tree, but not present in the - * schema, will be removed in the santized data. Nested arrays are traversed recursively. + * schema, will be removed in the sanitized data. Nested arrays are traversed recursively. * * @since 6.5.0 *