Docs: Include `@since` in `register_block_type` definition
See #53233. Built from https://develop.svn.wordpress.org/trunk@50928 git-svn-id: http://core.svn.wordpress.org/trunk@50537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2ca2feff15
commit
087934feea
|
@ -329,6 +329,7 @@ function register_block_type_from_metadata( $file_or_folder, $args = array() ) {
|
|||
* the metadata stored in the `block.json` file.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 5.8.0 First param accepts a path to the `block.json` file.
|
||||
*
|
||||
* @param string|WP_Block_Type $block_type Block type name including namespace, or alternatively
|
||||
* a path to the JSON file with metadata definition for the block,
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.8-alpha-50927';
|
||||
$wp_version = '5.8-alpha-50928';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue