Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52224, comment 1


Ignore:
Timestamp:
01/15/2021 06:45:27 AM (4 years ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52224, comment 1

    initial v1  
    11In 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        }}}
    38- Adds internationalization function to translate "RSS" in alt text
    49- Adds `loading="lazy"`, as recommended on #50041
     
    10151. Facilitate editing the heading text link as well (either adding an image inside or removing that link so the heading is only text).
    11162. 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 that by then.
     173. 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.