Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SITE-1957] Single sites and subdirectory multisites still missing some css / js resources #161

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

jazzsequence
Copy link
Contributor

@jazzsequence jazzsequence commented Aug 30, 2024

Fixes an issue with the last update that does not fully fix the broken paths for some core resources on some sites (single site and subdirectory multisite).

This PR adds an is_multisite check back into the filters that handle the url rewriting.

This was discovered on a one-off test site of mine and confirmed by a customer using the WPCM upstream (and a custom upstream based off it). Confirmed working in both cases and it was confirmed that this issue does not exist on subdomain multisite and subdomain multisite continues to be unaffected by the change.

tested on subdom, subdir and single sites

tested on subdom, subdir and single sites
@jazzsequence jazzsequence requested a review from a team as a code owner August 30, 2024 16:24
@jazzsequence jazzsequence self-assigned this Aug 30, 2024
@jazzsequence jazzsequence merged commit 05e7069 into default Aug 30, 2024
11 checks passed
@jazzsequence jazzsequence deleted the fix-broken-sources-again branch August 30, 2024 16:56
@jazzsequence jazzsequence changed the title add is_multisite check to str_replace [SITE-1957] Single sites and subdirectory multisites still missing some css / js resources Aug 30, 2024
@jazzsequence jazzsequence mentioned this pull request Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants