From d5d599b83ae0bfb5262d8b41e269e8164fd17cbd Mon Sep 17 00:00:00 2001 From: Shail Mehta Date: Wed, 15 May 2024 11:31:21 +0530 Subject: [PATCH] Small Typo Corrections (#61662) Co-authored-by: shail-mehta Co-authored-by: Mamaduka --- lib/compat/wordpress-6.5/block-bindings/block-bindings.php | 2 +- packages/element/src/serialize.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compat/wordpress-6.5/block-bindings/block-bindings.php b/lib/compat/wordpress-6.5/block-bindings/block-bindings.php index 1bcb23ccd6549c..cc26fe50d02fd6 100644 --- a/lib/compat/wordpress-6.5/block-bindings/block-bindings.php +++ b/lib/compat/wordpress-6.5/block-bindings/block-bindings.php @@ -53,7 +53,7 @@ function register_block_bindings_source( string $source_name, array $source_prop * @since 6.5.0 * * @param string $source_name Block bindings source name including namespace. - * @return WP_Block_Bindings_Source|false The unregistred block bindings source on success and `false` otherwise. + * @return WP_Block_Bindings_Source|false The unregistered block bindings source on success and `false` otherwise. */ if ( ! function_exists( 'unregister_block_bindings_source' ) ) { function unregister_block_bindings_source( string $source_name ) { diff --git a/packages/element/src/serialize.js b/packages/element/src/serialize.js index e047ccad432dc8..9ca05cf2fa5e4e 100644 --- a/packages/element/src/serialize.js +++ b/packages/element/src/serialize.js @@ -755,7 +755,7 @@ export function renderAttributes( props ) { let value = getNormalAttributeValue( key, props[ key ] ); - // If value is not of serializeable type, skip. + // If value is not of serializable type, skip. if ( ! ATTRIBUTES_TYPES.has( typeof value ) ) { continue; }