summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/query-no-results.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:22 +0000
commitfc0a79914946dac00ccd51b1aacffe267de7210e (patch)
tree1403384efbfe8f8776ff60aaa40f7d535c02c822 /wp-includes/blocks/query-no-results.php
parentReleasing progress-linux version 6.5.5+dfsg1-1~progress7.99u1. (diff)
downloadwordpress-fc0a79914946dac00ccd51b1aacffe267de7210e.tar.xz
wordpress-fc0a79914946dac00ccd51b1aacffe267de7210e.zip
Merging upstream version 6.6.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/query-no-results.php')
-rw-r--r--wp-includes/blocks/query-no-results.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/wp-includes/blocks/query-no-results.php b/wp-includes/blocks/query-no-results.php
index a6f4bd1..34d6b32 100644
--- a/wp-includes/blocks/query-no-results.php
+++ b/wp-includes/blocks/query-no-results.php
@@ -8,6 +8,10 @@
/**
* Renders the `core/query-no-results` block on the server.
*
+ * @since 6.0.0
+ *
+ * @global WP_Query $wp_query WordPress Query object.
+ *
* @param array $attributes Block attributes.
* @param string $content Block default content.
* @param WP_Block $block Block instance.
@@ -47,6 +51,8 @@ function render_block_core_query_no_results( $attributes, $content, $block ) {
/**
* Registers the `core/query-no-results` block on the server.
+ *
+ * @since 6.0.0
*/
function register_block_core_query_no_results() {
register_block_type_from_metadata(