Opened 5 years ago
Closed 5 years ago
#47178 closed defect (bug) (fixed)
Twenty Ten: Remove an extra colons from blocks.css
Reported by: | shashank3105 | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-patch commit |
Focuses: | coding-standards | Cc: |
Description
Found many extra colons from many files and removed those.
Thanks,
Shashank.
Attachments (4)
Change History (14)
#1
@
5 years ago
Hi @shashank3105
Please remove rtl.css
from the patch, the rtl files will generate automatically and doesn't need any modification.
#2
@
5 years ago
Also, sodium_compat
and getid3
aren't from WordPress core and if they needs any patch, you must send it to their authors.
#4
@
5 years ago
- Component changed from General to Bundled Theme
- Keywords needs-testing removed
- Summary changed from Remove extra colons from many files to Twenty Ten: Remove an extra colons from blocks.css
#5
@
5 years ago
- Keywords commit added
- Milestone changed from Awaiting Review to 5.3
Patch looks good and a fairly simple fix. Tagging for 5.3
as the Bundled Themes
are only updated during major releases.
#6
@
5 years ago
- Keywords needs-refresh added; commit removed
I did some digging into the rtl.css
file in Twenty Sixteen with the double ;
and it appears that this file has not been updated since the theme was moved over to Core's SVN repo. It was also not updated after being added to the GitHub repository.
It appears that RTL stylesheets are not automatically generated from the LTR versions in bundled themes prior to Twenty Nineteen (which has its own build process).
Because these are not automatically generated by a build process, it should be safe to remove the double ;
in twentysixteen/rtl.css
as well.
@laurelfulford Since you have a bit more historic knowledge of the bundled themes, can you confirm?
#7
@
5 years ago
@desrosj Yes! All of the RTL styles in default themes pre-Twenty Nineteen are manually managed, so it's fine to just remove the extra semi-colon from Twenty Sixteen's RTL styles.
Patch file for this issue