[wp-trac] [WordPress Trac] #61638: Site Health Tool - Directory sizes stuck in loading state in WordPress v6.6 RC3
WordPress Trac
noreply at wordpress.org
Fri Jul 19 23:38:25 UTC 2024
#61638: Site Health Tool - Directory sizes stuck in loading state in WordPress v6.6
RC3
-------------------------------------+-------------------------------------
Reporter: kowsar89 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.6.2
Component: Site Health | Version: 6.6
Severity: normal | Resolution:
Keywords: has-patch has- | Focuses: javascript,
screenshots has-testing-info | administration
needs-testing |
-------------------------------------+-------------------------------------
Changes (by ironprogrammer):
* keywords: has-patch => has-patch has-screenshots has-testing-info needs-
testing
Comment:
Thank you for the ticket, @kowsar89, and @Clorith for the patch! This fix
resolves the issue in my environment, but I've added `needs-testing` to
see if we can get some more variety in environments.
== Test Report
Patch tested: https://github.com/WordPress/wordpress-develop/pull/7056
=== Steps to Reproduce or Test
1. [https://make.wordpress.org/core/2024/03/14/new-feature-font-library
/#customizing-the-fonts-upload-directory Override the font storage
location using the `font_dir` filter], setting it to a non-existent
location
([https://gist.github.com/ironprogrammer/62e503458ff84693ed8eb9570bd0488b
example mu plugin]).
2. In Site Health navigate to the Info tab and expand the "Directories and
Sizes" accordion.
3. Observe the directory size results.
=== Expected Results
When reproducing the bug:
- ❌ The size results display "Loading..." for all directories.
When testing a patch to validate it works as expected:
- ✅ Size results are displayed for valid directories, with a "does not
exist" message for those that are inaccessible.
=== Environment
- Hardware: MacBook Pro Apple M1 Pro
- OS: macOS 14.5
- Browser: Safari 17.5
- Server: nginx/1.27.0
- PHP: 8.3.9
- MySQL: 8.0.27
- WordPress: 6.7-alpha-58576-src
- Theme: twentytwentyfour v1.2
- Active Plugins:
- change-fonts-dir-location
([https://gist.github.com/ironprogrammer/62e503458ff84693ed8eb9570bd0488b
mu plugin] that sets fonts dir to `/wp-content/fonts-not-exist`)
=== Actual Results
Before patch:
- ❌ Size results for all directories showed "Loading..."
After patch:
- ✅ All directories except for fonts displayed valid sizes, and the fonts
directory showed "The directory does not exist."
=== Supplemental Artifacts
Before patch:
[[Image(https://cldup.com/FkqSWIjPwI.png, 80%)]]
After patch:
[[Image(https://cldup.com/aoKg-mdbkY.png, 80%)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61638#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list