Added better checking for redirects where the 'baseurl' is not returned as part of the
redirect and has to be manually added. For now I'm just adding plus.google.com but
ultimately this will need to be parameterized
Request form directly at /app/basic/share/ rather than old url
Restarting development. Got a test version working with Google+ in the us - changes
to all the redirects it goes through, now using /app/basic/share/ instead of the
older mobile version
Updating notes in the readme to clarify what does not work - 2 factor auth, non-US
Setting redirection back to 5 on the login check. I'd prefer not to rely on redirection
this way, given that on some hosts curl redirection isn't allowed, but that will require
a more fundamental rewrite I haven't had time to do. (I'd have to handle the redirection
myself as current is done during the posting process, and all the variants for different
global versions of google+
Was not checking for wp_error object on first request, now we are
One user reported multiple posts to Google+ for one WordPress post, so I tightened
the final POST to google+ to not follow redirects, which should not be required.
That's what I get for weekend coding. Left a number of old debug statements
in the main plugin file that weren't using the new function.
Updated plugin requirements - needs WordPress 3.2 as a major issue with redirection => 0
was fixed in that release. Given 3.4 is out now I'm ok with that.
Left an outdated "echo" statement in the logout function for 0.8 - fixed
Extensive re-write to be more "WordPress Like"
Replaced cURL calls with wp_remote_request, wp_remote_post, and wp_remote_head
Storing cookies returned by Google+ in WordPress transients
Debug is now an option
Checked for login form being presented by google else it will fail
Wrapped calls to curl_setopt() for FOLLOWLOCATION - now checks to see if that
setting was successful and dies if it was not.
Wrapped fwrite calls for debug.txt in checks for valid file pointer first.
Adding further detection for cases where Google+ returns a client-side
redirect in response to a login request, rather than returning the right form
Fixed bug in which message and publish meta were being duplicated
Turned off debug logging including password - not good for production environment
Added more debugging output
Shifted to loadHTML, suppressed warnings from loading DOM
Added post-meta box for Google+ message
Requires: 3.2 or higher Compatible up to: 3.9.2 Last Updated: 2014-6-29 Downloads: 28,907