[wp-trac] [WordPress Trac] #46664: Site Health: mixed slash symbols on paths in Directories and Sizes output

WordPress Trac noreply at wordpress.org
Wed Mar 27 09:38:06 UTC 2019


#46664: Site Health: mixed slash symbols on paths in Directories and Sizes output
-------------------------+-----------------------------------
 Reporter:  xkon         |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:  site-health has-patch
  Focuses:  ui           |
-------------------------+-----------------------------------
 While checking out the discussion and testing #46645 I noticed that I'm
 getting the common mix of `\` `/` in paths on the `Directories and Sizes`
 in Info page.

 The uploaded diff addresses that by adding a `wp_normalize_path()` on the
 values returned.

 --

 Maybe we should so the same with `WordPress Constants` as `ABSPATH`,
 `WP_CONTENT_DIR` etc will be shown with mixed slashes as well?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46664>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list