[wp-trac] [WordPress Trac] #61602: site health - disk_free_space return error
WordPress Trac
noreply at wordpress.org
Mon Aug 19 15:19:43 UTC 2024
#61602: site health - disk_free_space return error
--------------------------+------------------------------
Reporter: wbdv | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version: 6.5.5
Severity: minor | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"58913" 58913]:
{{{
#!CommitTicketReference repository="" revision="58913"
Site Health: Correct the check for disk space available to safely perform
updates.
The `wp-content/upgrade` directory does not exist initially after
installation, so the Site Health check could not determine the available
disk space until the directory was subsequently created during an update.
By testing `WP_CONTENT_DIR` instead, the check can complete successfully.
This also brings consistency with similar checks in
`_unzip_file_ziparchive()` and `_unzip_file_pclzip()`.
Follow-up to [55720], [56401].
Props wbdv, khokansardar, mi5t4n, SergeyBiryukov.
Fixes #61602.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61602#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list