[wp-trac] [WordPress Trac] #52224: RSS Widget: allow removing the feed icon link

WordPress Trac noreply at wordpress.org
Fri Oct 15 23:26:26 UTC 2021


#52224: RSS Widget: allow removing the feed icon link
-------------------------------------------------+-------------------------
 Reporter:  sabernhardt                          |       Owner:
                                                 |  sabernhardt
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.9
Component:  Widgets                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-testing-info needs-    |     Focuses:
  refresh                                        |  accessibility
-------------------------------------------------+-------------------------
Changes (by sabernhardt):

 * keywords:  has-patch needs-testing has-testing-info => has-patch has-
     testing-info needs-refresh


Comment:

 I thought I had fixed that by setting one of the values to 0 instead of 1:
 {{{
    $show_icon    = isset( $widget_rss['show_icon'] ) ? (int)
 $widget_rss['show_icon'] : 0;
 }}}

 Before making that change, I had the same issue. Now, I am able to save
 the widget settings, but it sometimes reverts back when I refresh the
 (classic) Widgets page.

 The problem is likely in the update and/or process functions, though I
 have not discovered it yet.

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


More information about the wp-trac mailing list