summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/query-title.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/query-title.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/query-title.php')
-rw-r--r--wp-includes/blocks/query-title.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/wp-includes/blocks/query-title.php b/wp-includes/blocks/query-title.php
index 29793e5..88a9455 100644
--- a/wp-includes/blocks/query-title.php
+++ b/wp-includes/blocks/query-title.php
@@ -10,6 +10,8 @@
* For now it only supports Archive title,
* using queried object information
*
+ * @since 5.8.0
+ *
* @param array $attributes Block attributes.
*
* @return string Returns the query title based on the queried object.
@@ -60,6 +62,8 @@ function render_block_core_query_title( $attributes ) {
/**
* Registers the `core/query-title` block on the server.
+ *
+ * @since 5.8.0
*/
function register_block_core_query_title() {
register_block_type_from_metadata(