summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/shortcode.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/shortcode.php')
-rw-r--r--wp-includes/blocks/shortcode.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/wp-includes/blocks/shortcode.php b/wp-includes/blocks/shortcode.php
index 97a40b3..d96acfc 100644
--- a/wp-includes/blocks/shortcode.php
+++ b/wp-includes/blocks/shortcode.php
@@ -8,6 +8,8 @@
/**
* Performs wpautop() on the shortcode block content.
*
+ * @since 5.0.0
+ *
* @param array $attributes The block attributes.
* @param string $content The block content.
*
@@ -19,6 +21,8 @@ function render_block_core_shortcode( $attributes, $content ) {
/**
* Registers the `core/shortcode` block on server.
+ *
+ * @since 5.0.0
*/
function register_block_core_shortcode() {
register_block_type_from_metadata(