wp/wp-includes/widgets/class-wp-widget-rss.php
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
--- a/wp/wp-includes/widgets/class-wp-widget-rss.php	Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-includes/widgets/class-wp-widget-rss.php	Fri Sep 05 18:40:08 2025 +0200
@@ -101,12 +101,12 @@
 			/**
 			 * Filters the classic RSS widget's feed icon link.
 			 *
-			 * Themes can remove the icon link by using `add_filter( 'rss_widget_feed_link', '__return_false' );`.
+			 * Themes can remove the icon link by using `add_filter( 'rss_widget_feed_link', '__return_empty_string' );`.
 			 *
 			 * @since 5.9.0
 			 *
-			 * @param string $feed_link HTML for link to RSS feed.
-			 * @param array  $instance  Array of settings for the current widget.
+			 * @param string|false $feed_link HTML for link to RSS feed.
+			 * @param array        $instance  Array of settings for the current widget.
 			 */
 			$feed_link = apply_filters( 'rss_widget_feed_link', $feed_link, $instance );