Fixed mixed for use in mixed protocol domains. Tested and working in WordPress version 4.0. Support for much older versions of WordPress have been removed, 3.9+ is recommended.

git-svn-id: https://plugins.svn.wordpress.org/spots/trunk@1019540 b8457f37-d9ea-0310-8a92-e5e31aec5664