From a805b90f4508e80af72a60e232ffc1a7619b9141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Zi=C3=83=C2=B3=C3=85=E2=80=9Akowski?= Date: Wed, 19 May 2021 13:58:52 +0000 Subject: [PATCH] Docs: Include `@since` in `register_block_type` definition See #53233. git-svn-id: https://develop.svn.wordpress.org/trunk@50928 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/blocks.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/blocks.php b/src/wp-includes/blocks.php index 0346659ad6..acd65b6533 100644 --- a/src/wp-includes/blocks.php +++ b/src/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,