[wp-trac] [WordPress Trac] #57594: Correct type in rss_widget_feed_link filter docs

WordPress Trac noreply at wordpress.org
Tue Mar 28 01:21:11 UTC 2023


#57594: Correct type in rss_widget_feed_link filter docs
----------------------------+------------------------
 Reporter:  sabernhardt     |       Owner:  joedolson
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  6.2
Component:  Widgets         |     Version:
 Severity:  minor           |  Resolution:  fixed
 Keywords:  needs-dev-note  |     Focuses:  docs
----------------------------+------------------------
Changes (by sabernhardt):

 * keywords:  has-patch => needs-dev-note


Comment:

 The [https://make.wordpress.org/core/2022/01/07/theme-focused-changes-and-
 filters-in-wordpress-5-9/#removing-the-icon-and-its-link dev note from
 WP5.9] probably could be updated. Here's a draft for the modified example
 and revision note:

 > `add_filter( 'rss_widget_feed_link', '__return_empty_string' );`
 >
 > For Twenty Twenty-One, the `after_setup_theme` action contains the
 filter. **''Update:''** Since March 2023, Twenty Twenty-One's filter
 returns an empty string instead of the boolean `false`. See #57594.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57594#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list