I have some plugins that use the WP_CONTENT_URL constant to output css or js locations.
This constant is defined in wp-settings.php prior to loading the plugins and is initialized with the siteurl option value.
The output from these plugins is the url of my subdomains instead of the mapped TLD.
For example: http://subdomain.mydomain.com/wp-content/plugins/someplugin/thecss.css instead of
http://mymappeddomain.com/wp-content/plugins/someplugin/thecss.css
Is there a fix or a workaround? I prefer if all absolute urls on the website will include the domain the surfer is really visiting