I have a user using my plugin with the following wp setup
WordPress Address (URL)
http://server1.theirhost.com/~acct/somewebsite.com/wordpress
Site Address (URL)
http://www.somewebsite.com
I am using admin_url( 'admin-ajax.php' ) to pull the ajax url, which returns
http://server1.theirhost.com/~acct/somewebsite.com/wordpress/wp-admin/admin-ajax.php
When doing ajax requests from a page on http://www.somewebsite.com, it looks like the "same origin policy" is in effect and the requests fail. Any suggestions on how to fix this issue?
http://somewebsite.com
? Do a server to server request to avoid same origin policy.