[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
Tue Sep 5 21:54:12 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):
== Reproduction Report
=== Steps to Test
Starting from WordPress 6.3:
1. In `php.ini`, disable `disk_free_space()` by adding the line:
`disable_functions = disk_free_space`.
2. Restart the web server.
3. Navigate to Site Health, and expand the disk space security notice.
Observe the message.
4. Upgrade to WordPress 6.3.1, then repeat Step 3.
=== Environment
- Hardware: MacBook Pro Apple M1 Pro
- OS: macOS 13.5.1
- Server: nginx/1.25.2
- PHP: 8.2.9
- WordPress: 6.3, 6.3.1, and 6.3.2-alpha-56487
=== Actual Results
- ❌ Before and after the 6.3->6.3.1 upgrade the notice indicates: "Could
not determine available disk space for updates." Unable to reproduce.
=== Supplemental Artifacts
''Figure 1: Disk space notice and after upgrade to 6.3.1.''
[[Image(https://cldup.com/GR72QzK_-5.thumb.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59251#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list