Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cross origin error fix if FORCE_SSL_ADMIN enabled #53

Conversation

marcogiovinazzi
Copy link

In mixed http/https sites, if wp-admin is served via HTTPS, browser raises a cross-origin error while trying to send voting data to server. Detecting the current protocol will force the plugin to send data according to it.

@lesterchan
Copy link
Owner

I was doing that before, but I removed it. Here is a discussion lesterchan/wp-polls#19

@lesterchan lesterchan closed this Oct 6, 2015
@janrenn
Copy link

janrenn commented Mar 15, 2016

@marcogiovinazzi use admin_url filter, e.g. #75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants