summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/heading.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:18 +0000
commit0e41b5d52fdc6af6442816b5f465c9db9f84e126 (patch)
treee139a90049b158d4eed892d1662ee7f5c358fa31 /wp-includes/blocks/heading.php
parentAdding upstream version 6.5.5+dfsg1. (diff)
downloadwordpress-upstream.tar.xz
wordpress-upstream.zip
Adding upstream version 6.6.1+dfsg1.upstream/6.6.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/heading.php')
-rw-r--r--wp-includes/blocks/heading.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/wp-includes/blocks/heading.php b/wp-includes/blocks/heading.php
index 5a7e8db..471e31f 100644
--- a/wp-includes/blocks/heading.php
+++ b/wp-includes/blocks/heading.php
@@ -14,6 +14,8 @@
* Would be transformed to:
* <h2 class="align-left wp-block-heading">Hello World</h2>
*
+ * @since 6.2.0
+ *
* @param array $attributes Attributes of the block being rendered.
* @param string $content Content of the block being rendered.
*
@@ -39,6 +41,8 @@ function block_core_heading_render( $attributes, $content ) {
/**
* Registers the `core/heading` block on server.
+ *
+ * @since 6.2.0
*/
function register_block_core_heading() {
register_block_type_from_metadata(