[wp-trac] [WordPress Trac] #59251: Site Health incorrectly reports low disk space available for updates when disk_free_space function disabled

WordPress Trac noreply at wordpress.org
Wed Dec 20 23:31:21 UTC 2023


#59251: Site Health incorrectly reports low disk space available for updates when
disk_free_space function disabled
-------------------------------+------------------------------
 Reporter:  sdowney2002        |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Site Health        |     Version:  6.3.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by ironprogrammer):

 Thank you for adding to this report, @waterfire and @dasbuilder! Out of
 curiosity, in your respective environments, have you been able to confirm
 (via code) the result of calling `disk_free_space`?

 If you have a chance,
 [https://gist.github.com/ironprogrammer/d184896e7c74fb214a6caba27d1a8f03
 here's a test gist] of a mu-plugin that outputs an admin notice that
 includes: path, symlink status, whether the function exists, and the final
 value of `$available_space` used to determine the message shown in Site
 Health.

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


More information about the wp-trac mailing list