I'm in the beginning of creating a Wordpress plugin. I've done several of these.
I'm using Wordpress 4.6.1 and bbPress 2.5.10 on Plesk 12.5.30.
It is a network installation with a main domain and three subdomains.
Everything works fine on the main domain and mostly fine on the subdomains. No problems on the user side or the admin side.
My plugin does little other than create a button and change it's HTML using AJAX. Very simple so far, but it has a big problem. When loading the dashboard on subdomain sites, the browser console shows:
- GET http://mysubdomain.mydomain.com/wp-content/plugins/bbpress/includes/admin/css/admin.css?ver=2.5.10-6063
- JQMIGRATE: Migrate is installed, version 1.4.1
- GET http://mysubdomain.mydomain.com/wp-content/plugins/ivevents/ivevents.js?ver=0.0 404 (Not Found)
Ignoring the JQMIGRATE line, the two referenced URLs both exist on the server in the right places. No other plugins, and I have many installed, have this problem. Some of them are my own plugins using the same basic strategy.
The AJAX doesn't work on subdomains because it can't find the .js file.