From 087934feeaa5cc11e350c6fc52ad50d0a9105c6e Mon Sep 17 00:00:00 2001 From: gziolo Date: Wed, 19 May 2021 14:00:01 +0000 Subject: [PATCH] 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 --- wp-includes/blocks.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php index 0346659ad6..acd65b6533 100644 --- a/wp-includes/blocks.php +++ b/wp-includes/blocks.php @@ -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, diff --git a/wp-includes/version.php b/wp-includes/version.php index 22e85773c6..24a4874fe7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.