Changes between Initial Version and Version 1 of Ticket #52224, comment 1
- Timestamp:
- 01/15/2021 06:45:27 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52224, comment 1
initial v1 1 1 In addition to creating a filter for the icon link HTML, [attachment:"52224.filter.diff"]: 2 - Adds a unique class name to each of the links to help theme authors update styles (for example, Twenty Twenty could have `.widget_rss .widget-title a.rsswidget:first-of-type:not(.rss-widget-title) { display: none; }`) 2 - Adds a unique class name to each of the links to help theme authors update styles with the `:not()` selector if necessary (example below is for Twenty Twenty) 3 {{{ 4 .widget_rss .widget-title a.rsswidget:first-of-type:not(.rss-widget-title) { 5 display: none; 6 } 7 }}} 3 8 - Adds internationalization function to translate "RSS" in alt text 4 9 - Adds `loading="lazy"`, as recommended on #50041 … … 10 15 1. Facilitate editing the heading text link as well (either adding an image inside or removing that link so the heading is only text). 11 16 2. Encourage removing the icon link (within the docblock). 12 3. Keep the icon removal opt-in (it's opt-in with this patch), but adjust the filter so we can consider a switch to opt-out later if themes support thatby then.17 3. Keep the icon removal opt-in (it's opt-in with this patch), but adjust the filter so we can consider a switch to opt-out later if themes would not break by then.