From 1338984fb45c2fbe416c1d2d36294a4299c1a3a8 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 31 Jan 2024 12:45:35 +0000 Subject: [PATCH] Editor: fix small typos in block bindings API docblocks. Props shailu25. See #60282. Fixes #60386. git-svn-id: https://develop.svn.wordpress.org/trunk@57500 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/block-bindings.php | 2 +- src/wp-includes/class-wp-block-bindings-registry.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/block-bindings.php b/src/wp-includes/block-bindings.php index d0def1c86e..e49fa4afb2 100644 --- a/src/wp-includes/block-bindings.php +++ b/src/wp-includes/block-bindings.php @@ -48,7 +48,7 @@ function register_block_bindings_source( $source_name, array $source_properties * @since 6.5.0 * * @param string $source_name Block bindings source name including namespace. - * @return array|false The unregistred block bindings source on success and `false` otherwise. + * @return array|false The unregistered block bindings source on success and `false` otherwise. */ function unregister_block_bindings_source( $source_name ) { return WP_Block_Bindings_Registry::get_instance()->unregister( $source_name ); diff --git a/src/wp-includes/class-wp-block-bindings-registry.php b/src/wp-includes/class-wp-block-bindings-registry.php index 8b36387552..d34733327a 100644 --- a/src/wp-includes/class-wp-block-bindings-registry.php +++ b/src/wp-includes/class-wp-block-bindings-registry.php @@ -116,7 +116,7 @@ final class WP_Block_Bindings_Registry { * @since 6.5.0 * * @param string $source_name Block bindings source name including namespace. - * @return array|false The unregistred block bindings source on success and `false` otherwise. + * @return array|false The unregistered block bindings source on success and `false` otherwise. */ public function unregister( $source_name ) { if ( ! $this->is_registered( $source_name ) ) {