Problems with jQuery.load in WPMU
-
I have created a plugin that works fine for single installation of WP. But now that I switched to WPMU I’m facing a problem.
In my jQuery / Javascript, I have the following code to load content:
jQuery("#fileBrowser").load("../wp-content/plugins/wp-filebrowser/fileBrowser.php");
Instead of the normal ‘https://mysite.com/wp-content/plugins/wp-filebrowser/fileBrowser.php’, it now uses ‘https://subdomain.mysite.com/wp-content/plugins/wp-filebrowser/fileBrowser.php’.
This throws a ‘404 Not Found’ when looking for uploader.php.
I’m wondering how I can work around this problem.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Problems with jQuery.load in WPMU’ is closed to new replies.