#61933 closed defect (bug) (fixed)
Twenty Nineteen : Remove the use of empty rulesets
| Reported by: | pitamdey | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.7 |
| Component: | Bundled Theme | Version: | 5.0 |
| Severity: | normal | Keywords: | has-patch commit has-test-info |
| Cc: | Focuses: |
Description
In Twenty Nineteen, In Scss file I can see a lint error of "Do not use empty rulesets" i.e. The class is called but it is blank, no style property is applied.
I have added a patch for it
Attachments (1)
Change History (5)
#1
@
23 months ago
- Keywords has-patch commit added
- Milestone Awaiting Review → 6.7
- Version → 5.0
Nice catch.
Move to milestone for commit consideration.
#2
@
23 months ago
- Keywords has-testing-info added
Hi @pitamdey
Test Report
Patch tested: https://core.trac.wordpress.org/attachment/ticket/61933/61933.patch
Environment:
OS: Windows
PHP: 8.2.12
WordPress: 6.6.1
Browser: Chrome
Theme: Twenty Nineteen (Version: 2.9)
Plugins: None activated
Actual Results:
✅ Patch working well as desired solution.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch for this issue