summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/rss.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/rss.php
parentAdding upstream version 6.5.5+dfsg1. (diff)
downloadwordpress-23bd21eba100fba4eccff0d3eb058c92bcf55964.tar.xz
wordpress-23bd21eba100fba4eccff0d3eb058c92bcf55964.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/rss.php')
-rw-r--r--wp-includes/blocks/rss.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/wp-includes/blocks/rss.php b/wp-includes/blocks/rss.php
index 91cdab3..3e8231d 100644
--- a/wp-includes/blocks/rss.php
+++ b/wp-includes/blocks/rss.php
@@ -8,6 +8,8 @@
/**
* Renders the `core/rss` block on server.
*
+ * @since 5.2.0
+ *
* @param array $attributes The block attributes.
*
* @return string Returns the block content with received rss items.
@@ -107,6 +109,8 @@ function render_block_core_rss( $attributes ) {
/**
* Registers the `core/rss` block on server.
+ *
+ * @since 5.2.0
*/
function register_block_core_rss() {
register_block_type_from_metadata(