mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -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 ) ) {
|
||||
|
||||
Reference in New Issue
Block a user