Widgets: Add filter to disable RSS widget icon.
Add a filter that disables output of the icon on RSS feed widgets. Improves accessibility by providing a path to prevent duplicate or invisible links. Props sabernhardt, Boniu91. Fixes #52224. Built from https://develop.svn.wordpress.org/trunk@52031 git-svn-id: http://core.svn.wordpress.org/trunk@51623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -229,6 +229,10 @@ input[type="checkbox"] {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.widget_rss .widget-title .rsswidget:first-child:not(.rss-widget-title) {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.search-form .search-submit {
|
||||
left: 3px;
|
||||
right: auto;
|
||||
|
||||
@@ -2662,7 +2662,7 @@ h2.widget-title {
|
||||
|
||||
/* RSS Widget */
|
||||
|
||||
.widget_rss .widget-title .rsswidget:first-child {
|
||||
.widget_rss .widget-title .rsswidget:first-child:not(.rss-widget-title) {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
||||
@@ -4286,7 +4286,7 @@ div.comment:first-of-type {
|
||||
|
||||
/* Widget: RSS ------------------------------- */
|
||||
|
||||
.widget_rss .widget-title a.rsswidget:first-of-type {
|
||||
.widget_rss .widget-title a.rsswidget:first-of-type:not(.rss-widget-title) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -4320,7 +4320,7 @@ div.comment:first-of-type {
|
||||
|
||||
/* Widget: RSS ------------------------------- */
|
||||
|
||||
.widget_rss .widget-title a.rsswidget:first-of-type {
|
||||
.widget_rss .widget-title a.rsswidget:first-of-type:not(.rss-widget-title) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user