[wp-trac] [WordPress Trac] #57171: unit test for wp_filesize()
WordPress Trac
noreply at wordpress.org
Tue Nov 22 19:43:39 UTC 2022
#57171: unit test for wp_filesize()
--------------------------------------+-----------------------------
Reporter: pbearne | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.2
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"54863" 54863]:
{{{
#!CommitTicketReference repository="" revision="54863"
Tests: Add unit tests for attachmentâs file size being included in
metadata.
These tests ensure that `wp_generate_attachment_metadata()` stores the
file size of all newly uploaded attachments under the `filesize` array
key. The tests were initially supposed to be committed with [52837].
Follow-up to [52837], [52932], [54861].
Props spacedmonkey, johnwatkins0, mitogh, adamsilverstein, pbearne,
SergeyBiryukov.
Fixes #57171.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57171#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list