[wp-trac] [WordPress Trac] #61602: site health - disk_free_space return error
WordPress Trac
noreply at wordpress.org
Tue Jul 9 13:11:43 UTC 2024
#61602: site health - disk_free_space return error
--------------------------+-----------------------------
Reporter: wbdv | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version: 6.5.5
Severity: minor | Keywords:
Focuses: |
--------------------------+-----------------------------
disk_free_space return error if there is no directory WP_CONTENT_DIR .
'/upgrade/' (and by default, there is no wp-contents/upgrade directory)
Function return false and site health give an error about disk space.
Solution is simple, try to create directory WP_CONTENT_DIR.'/upgrade/'
before disk_free_space.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61602>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list