[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 29 15:42:00 UTC 2022
#55311: Style and JS URLs for some blocks are broken when using WP outside of the
current prefix
-----------------------------------+-----------------------
Reporter: pgpagely | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9.3
Component: Script Loader | Version: 5.9.1
Severity: major | Resolution: fixed
Keywords: has-patch fixed-major | Focuses:
-----------------------------------+-----------------------
Changes (by audrasjb):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"53019" 53019]:
{{{
#!CommitTicketReference repository="" revision="53019"
Editor: Fix broken asset URLs when using WP outside of the regular
directory
Both CSS and JS URLs were totally broken for some of the newer blocks
(e.g. the navigation block in the 2022 theme) when WP core is outside of
the current directory using a different prefix.
Props gziolo, SergeyBiryukov, pgpagely, Mamaduka.
Merges [52939] to the 5.9 branch.
Fixes #55311.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55311#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list