[wp-trac] [WordPress Trac] #55311: Style and JS URLs for some blocks are broken when using WP outside of the current prefix

WordPress Trac noreply at wordpress.org
Tue Mar 15 16:43:48 UTC 2022


#55311: Style and JS URLs for some blocks are broken when using WP outside of the
current prefix
---------------------------+------------------------------
 Reporter:  pgpagely       |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:  5.9.1
 Severity:  major          |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by gziolo):

 @Mamaduka, it looks like there are 3 places where we should wrap filepaths
 with `realpath`.

 Let's test the patch attached and plan to land it soon.

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


More information about the wp-trac mailing list