#59493 closed defect (bug) (fixed)
Bundled themes: remove blank CSS lines
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Bundled Theme | Keywords: | has-patch commit |
Focuses: | coding-standards | Cc: |
Description
Removed a blank CSS which is not needed in the code.
Attachments (5)
Change History (39)
This ticket was mentioned in PR #5348 on WordPress/wordpress-develop by ravikumarup.
18 months ago
#1
- Keywords has-patch added
ravikumarup commented on PR #5348:
18 months ago
#4
Created pull request by another email.
This ticket was mentioned in PR #5349 on WordPress/wordpress-develop by @ravipatel.
18 months ago
#5
Blank CSS line removed from code which is not needed.
Coding standard CSS, removed a blank line in CSS.
Removed a blank CSS which is not needed in the code.
Trac ticket: [] (https://core.trac.wordpress.org/ticket/59493)
@
18 months ago
I have checked above mentioned issue and founds few more files. I have applied its patch.
#7
@
18 months ago
- Resolution set to invalid
- Status changed from new to closed
Added a pull request for a code solution.
https://github.com/WordPress/wordpress-develop/pull/5349
Also added a patch related this, please review in it.
This ticket was mentioned in PR #5477 on WordPress/wordpress-develop by @sabernhardt.
18 months ago
#10
- Removes empty CSS rulesets in Twenty Ten, Twenty Eleven, Twenty Twelve and Twenty Fourteen.
- Removes empty lines within rulesets in Twenty Seventeen and Twenty Twenty-One.
- Rearranges some comments in the SCSS files for Twenty Nineteen so they do not create rulesets without properties.
- Switches some of Twenty Twenty-One's comments from multi-line
/* */
format to single-line//
format, and those do not appear in the compiled stylesheet.
Props: ravipatel, viralsampat
#11
@
18 months ago
- Milestone changed from Awaiting Review to 6.5
I recommend revisiting other comments in Twenty Nineteen's styles on a separate ticket. Several compiled comments appear inside an earlier ruleset, away from the styles they explain, but they do not relate to empty lines or rulesets.
This ticket was mentioned in PR #5643 on WordPress/wordpress-develop by @ravipatel.
17 months ago
#12
CSS coding standard : Do not use empty ruleset
Trac ticket: https://core.trac.wordpress.org/ticket/59493
@
15 months ago
I have checked above mentioned issue and founds one more file. Here, I have added my patch.
#15
@
12 months ago
- Milestone changed from Future Release to 6.6
- Owner set to sabernhardt
- Status changed from reopened to accepted
I just refreshed the map files for Twenty Twenty-One with current trunk.
@shailu25 commented on PR #5477:
12 months ago
#16
@sabernhardt can we remove this Blank CSS line also ?
/src/wp-content/themes/twentyten/functions.php Line no 285,286
#headimg #name { }
#headimg #desc { }
@shailu25 commented on PR #5477:
12 months ago
#17
@sabernhardt can we remove this Blank CSS line also ?
/src/wp-content/themes/twentyten/functions.php Line no 285,286
#headimg #name { }
#headimg #desc { }
This ticket was mentioned in Slack in #core-themes by karmatosed. View the logs.
11 months ago
#20
@
11 months ago
I see that at least one PR changes code that is not a bundled theme, this makes me unsure of which PR should be tested, and if the description and component is correct?
#22
@
11 months ago
- Keywords needs-testing added
- Summary changed from Blank CSS line removed from code to Bundled themes: remove blank CSS lines
This ticket was focused on bundled themes at the beginning, so I would like to keep it that way (updating PR 5477 as necessary).
Update: the wp-embed-template
styles have a separate ticket: #61085.
@swissspidy commented on PR #5643:
11 months ago
#23
#24
@
10 months ago
Just to confirm the current situation here:
- PR #5643 fixed the wp-embed-template styles.
- There is an outstanding PR 5477 with all the fixes for this ticket: https://github.com/WordPress/wordpress-develop/pull/5477
#25
@
10 months ago
I have tested https://github.com/WordPress/wordpress-develop/pull/5477 PR on the following themes: Twenty Ten, Twenty Eleven, Twenty Twelve, Twenty Fourteen, Twenty Seventeen, Twenty Nineteen, and Twenty Twenty-One.
- All changes were applied correctly without any visual or functional issues on the site.
- The themes were rendered as expected, and no new issues were introduced.
#27
@
10 months ago
- Owner changed from sabernhardt to karmatosed
- Status changed from accepted to assigned
Thank you everyone. I am going to move this through to commit now.
#31
@
9 months ago
We tend to use the commit keywords to track things so I am going to leave them on for now. This is closed though as has had a commit made. If other changes are needed we can review in a new issue.
9 months ago
#32
Hi @ravikumarup!
When you have a chance, could you kindly share your w.org account? It's required to ensure you receive proper credit in the upcoming 6.6 release!
For future contributions, could you please follow the steps listed in the handbook to connect your WordPress.org and GitHub accounts? It helps automate the process of giving you attribution based on commit messages to WordPress Core.
Thank you!
@sabernhardt commented on PR #5477:
8 months ago
#33
Committed in r58290
Coding standard CSS, removed a blank line in CSS.
Removed a blank CSS which is not needed in the code.
Trac ticket: [](https://core.trac.wordpress.org/ticket/59493#ticket)