-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Labels
priority: lowIssues that can waitIssues that can waittype: bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
Milestone
Description
When WPML domain mapping is used, the JS minification doesn't work correctly for the JS files in the footer, and for a different language than the main one.
That is because when doing the minification, we remove the file at the start of the wp_footer hook, and reinsert them at the end, thus preventing some filters to run, especially script_loader_src which is used by WPML to replace the domain name.
The solution is to apply the script_loader_src filter before reinserting the files.
Metadata
Metadata
Assignees
Labels
priority: lowIssues that can waitIssues that can waittype: bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior