Use mangle_url() function on 'content_url' and 'plugins_url' filters#121
Use mangle_url() function on 'content_url' and 'plugins_url' filters#121r-a-y wants to merge 1 commit intohumanmade:masterfrom
Conversation
|
out of curiosity... when the mangle_url function is working correctly, does it re-map the alias/mapped domain for all of the parent domain references? as an example: i'm not exactly sure how to fix that issue via CORS policy update in .htaccess. we're using well over a dozen different domains within our multisite environment. |
|
When you are on the alias site, it switches the subdomain asset URLs to the alias URL. For example, This PR helps to fix these assets if a plugin utilizes |
|
Thanks for getting to this, @tomjn .
Ping @carstingaxion .
I mention the utility of this in the comment above. Some plugins use |
Proper fix for #33.