Quantcast
Channel: WordPress.org Forums » [WordPress MU Domain Mapping] Support
Viewing all articles
Browse latest Browse all 3502

Luis Rodrigues on "[Plugin: WordPress MU Domain Mapping] Broken URLs for JavaScript and CSS assets inside mu-plugins"

$
0
0

That's true. Since the plugin still relies on them, I kept them in the above example, but they're not required at all.

In my tests, the analogous domain_mapping_themes_url() function (which doesn't rely on constants) also seems to work for plugins, both regular and MU. It does however use the siteurl option to fetch the base URL for replacement --- this may break the plugin in installs where WordPress lives in its own directory, in which case home would be a more appropriate option to use for all replacements.


Viewing all articles
Browse latest Browse all 3502

Trending Articles