AJAX requests to this site from another will be allowed for any in your multisite setup, no configuration required..
This section describes how to install the plugin and get it working..
Upload the entire lh-multisite-cors folder to the wp-content plugins directory..
Activate the plugin through 'Plugins WordPress...
If you want to integrate content from your site to JavaScript applications running on other domains then the CORS standard is way to allow this.
Allowing CORS for all sites is problem but given you are the super admin for sites on your own network they should be trustworthy, therefore CORS can be activated...
What is the difference between CORS and JSONP..
CORS is more modern and more secure since it works with the browser's same-origin policy and XmlHttpRequest objects rather than bypassing them...
You can find the CORS spec here http www.w3.org TR cors You can learn more about how to use CORS here http www html5rocks com en tutorials cors...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more