[wp-trac] [WordPress Trac] #61736: WP Site Health doesn't work if `wp-content/uploads/fonts` directory doesn't exist

WordPress Trac noreply at wordpress.org
Wed Jul 24 02:21:04 UTC 2024


#61736: WP Site Health doesn't work if `wp-content/uploads/fonts` directory doesn't
exist
--------------------------+------------------------------
 Reporter:  jkmassel      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Site Health   |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by jkmassel):

 Before creating `wp-content/uploads/fonts`:


 {{{
 curl "http://localhost/wp-json/wp-site-health/v1/directory-sizes" -u
 'test at example.com:[redacted]'
 {"code":"not_available","message":"Directory sizes could not be
 returned.","data":{"status":500}}
 }}}

 After creating `wp-content/uploads/fonts`:

 {{{
 curl "http://localhost/wp-json/wp-site-health/v1/directory-sizes" -u
 'test at example.com:[redacted]'
 {"raw":0,"wordpress_size":{"size":"55.37 MB","debug":"55.37 MB (58060516
 bytes)","raw":58060516},"themes_size":{"size":"12.12 MB","debug":"12.12 MB
 (12706752 bytes)","raw":12706752},"plugins_size":{"size":"395.35
 KB","debug":"395.35 KB (404836
 bytes)","raw":404836},"uploads_size":{"size":"44.87 MB","debug":"44.87 MB
 (47044510 bytes)","raw":47044510},"fonts_size":{"size":"0.00
 B","debug":"0.00 B (0 bytes)"},"database_size":{"size":"3.34
 MB","debug":"3.34 MB (3506176
 bytes)","raw":3506176},"total_size":{"size":"116.08 MB","debug":"116.08 MB
 (121722790 bytes)","raw":121722790}}

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


More information about the wp-trac mailing list