[wp-trac] [WordPress Trac] #63520: Twenty Fourteen: Latest Comments block link color does not belong in Content Sidebar
WordPress Trac
noreply at wordpress.org
Tue Jun 3 10:47:13 UTC 2025
#63520: Twenty Fourteen: Latest Comments block link color does not belong in
Content Sidebar
-------------------------------------+---------------------
Reporter: sabernhardt | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.9
Component: Bundled Theme | Version: 5.8
Severity: normal | Resolution:
Keywords: has-patch has-test-info | Focuses: css
-------------------------------------+---------------------
Changes (by sabernhardt):
* milestone: Awaiting Review => 6.9
Comment:
I think assigning the color only to the Primary and Footer widget areas
would have been a better choice four years ago, when blocks were
introduced to widgets.
{{{
.primary-sidebar .wp-block-latest-comments__comment-meta a,
.footer-sidebar .wp-block-latest-comments__comment-meta a {
color: #fff;
}
}}}
However, a site with a child theme can register an extra widget area. For
that situation, PR 8888 expects that any custom sidebar is against a dark
background, does not include a Latest Comments widget, and/or already has
custom styles to fix the text color. The patch only excludes the Content
Sidebar:
{{{
.widget-area:where(:not(.content-sidebar)) .wp-block-latest-
comments__comment-meta a {
color: #fff;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63520#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list