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

WordPress Trac noreply at wordpress.org
Fri Oct 6 12:45:58 UTC 2023


#59527: Include a check for 0-byte files in themes
------------------------------+----------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+----------------------
Changes (by desrosj):

 * owner:  (none) => desrosj
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56792" 56792]:
 {{{
 #!CommitTicketReference repository="" revision="56792"
 Build/Test Tools: Check for zero-byte files in themes.

 Because the contents of binary files are not included in patches by
 default, occasionally empty versions of these files are committed on
 accident. This is the most commonly happens within default themes because
 they usually contain image and font files.

 This adds a job to the theme related GitHub Action workflow that checks
 for the presence of zero-byte files so that these instances are caught
 more easily.

 Props costdev, hellofromTonya, luminuu, onemaggie.
 Fixes #59527.
 }}}

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


More information about the wp-trac mailing list