#59527 closed enhancement (fixed)
Include a check for 0-byte files in themes
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.4 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Build/Test Tools | Keywords: | has-patch |
| Focuses: | Cc: |
Description
The contents of binary files, such as font files or images, are not typically included in patches by default (though using --binary can be used in GIT), but the files are created as 0-byte files. It's not uncommon for a committer to forget or not know this and commit an empty file.
This often happens most often with default themes, and occasionally with unit test related files (see #59526).
Adding a check to the themes workflow would be a good way to confirm this doesn't happen.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/59527