[wp-trac] [WordPress Trac] #59527: Include a check for 0-byte files in themes

WordPress Trac noreply at wordpress.org
Tue Oct 3 18:01:32 UTC 2023


#59527: Include a check for 0-byte files in themes
------------------------------+--------------------
 Reporter:  desrosj           |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  6.4
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+--------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59527>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list