summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/query-pagination-numbers.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/query-pagination-numbers.php')
-rw-r--r--wp-includes/blocks/query-pagination-numbers.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/wp-includes/blocks/query-pagination-numbers.php b/wp-includes/blocks/query-pagination-numbers.php
index e6f8b46..fddf286 100644
--- a/wp-includes/blocks/query-pagination-numbers.php
+++ b/wp-includes/blocks/query-pagination-numbers.php
@@ -8,6 +8,10 @@
/**
* Renders the `core/query-pagination-numbers` block on the server.
*
+ * @since 5.8.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.
@@ -115,6 +119,8 @@ function render_block_core_query_pagination_numbers( $attributes, $content, $blo
/**
* Registers the `core/query-pagination-numbers` block on the server.
+ *
+ * @since 5.8.0
*/
function register_block_core_query_pagination_numbers() {
register_block_type_from_metadata(