mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Editor: fix small typos in block bindings API docblocks.
Props shailu25. See #60282. Fixes #60386. Built from https://develop.svn.wordpress.org/trunk@57500 git-svn-id: http://core.svn.wordpress.org/trunk@57001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9aaa49f5a7
commit
112955169b
@ -48,7 +48,7 @@ function register_block_bindings_source( $source_name, array $source_properties
|
|||||||
* @since 6.5.0
|
* @since 6.5.0
|
||||||
*
|
*
|
||||||
* @param string $source_name Block bindings source name including namespace.
|
* @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 ) {
|
function unregister_block_bindings_source( $source_name ) {
|
||||||
return WP_Block_Bindings_Registry::get_instance()->unregister( $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
|
* @since 6.5.0
|
||||||
*
|
*
|
||||||
* @param string $source_name Block bindings source name including namespace.
|
* @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 ) {
|
public function unregister( $source_name ) {
|
||||||
if ( ! $this->is_registered( $source_name ) ) {
|
if ( ! $this->is_registered( $source_name ) ) {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.5-alpha-57499';
|
$wp_version = '6.5-alpha-57500';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user