#64257 closed defect (bug) (invalid)
Admin: Incorrect CSS selector in about.css causing unintended styling
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Help/About | Keywords: | has-patch |
| Focuses: | css | Cc: |
Description
While reviewing the admin CSS file (wp-admin/css/about.css), I found an incorrect selector:
Change History (7)
This ticket was mentioned in PR #10521 on WordPress/wordpress-develop by @passoniate.
3 months ago
#1
#2
@
3 months ago
- Component changed from Administration to Help/About
- Keywords reporter-feedback added
@mukesh27 commented on PR #10521:
2 months ago
#3
Instead of updating the CSS we have to remove that CSS. See https://core.trac.wordpress.org/ticket/64257#comment:2
#5
follow-up:
↓ 6
@
2 months ago
- Resolution set to invalid
- Status changed from new to closed
This is in the legacy CSS. It was decided as part of the layout restructure in [46616] to not remove this CSS as some plugins used the about layout markup for their own update pages. By now we can likely remove this whole section of CSS ("x.2.0 - Legacy About Styles: Global" and below), but I would suggest opening a new ticket for that & getting it in early next release.
The selector in question is also not wrong — it's meant to reset the margin on the first item inside a column.
#6
in reply to:
↑ 5
@
2 months ago
- Keywords reporter-feedback needs-screenshots removed
- Milestone Awaiting Review deleted
- Version trunk deleted
some plugins used the about layout markup for their own update pages.
A directory search found hundreds of plugins that have used the .about-wrap class, and likely many of them still depend on the legacy CSS.
Fix incorrect CSS selector in
about.csscausing unintended styling.