model13
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress MU Domain Mapping] Remote login is not working with recent updateWe were having a similar problem here, and I was able to pinpoint the source. When the URL of the login page matches the original siteurl value, something like:
https://rootsite.com/subsite/wp-login.php
the login form action is still set to:
https://mappeddomain.com/wp-login.php
The mismatch is causing the problems, though I’m not sure whether the sudden spate of problems people are having is due to a change in the plugin itself or to recent browser security updates.
I manually changed wp-login.php’s form action on a test installation of multisite so that the form action matched https://rootdomain.com/site/wp-login.php, and the login was working correctly again.
WP uses the site_url() function to build the form action. This plugin is doing things to change the value of site_url() to the mapped domain, and on the login page this is creating the mismatch.
I haven’t come up with a fix yet, but I’m exploring the possibility of using a filter to fix the form action value. Really this needs to be adjusted in the plugin itself so that on the login page the form action matches the current URL.
Forum: Plugins
In reply to: [Form Manager] Suggestion for two reCAPTCHA field adjustmentsYou’re awesome! Thanks so much.
Forum: Plugins
In reply to: [Form Manager] Suggestion for two reCAPTCHA field adjustmentsIs there any chance you could include a fix in your next release? The most recent update to Form Manager wiped out the plugin code change necessary to support reCAPTCHA over SSL. The disappearance of the reCAPTCHAs disabled a couple dozen forms on our main multisite installation. Other users seem to be having similar problems.
Forum: Plugins
In reply to: [Form Manager] Suggestion for two reCAPTCHA field adjustmentsThank you! And thanks again for your great work on this plugin.
Forum: Plugins
In reply to: [Form Manager] Suggestion for two reCAPTCHA field adjustmentsI’ve had to go ahead and implement these revisions to the function recaptcha_get_html() in recaptchalib.php. I hope you might consider including them in an update before too long.
define("RECAPTCHA_API_SERVER", "//www.google.com/recaptcha/api");function recaptcha_get_html ($pubkey, $error = null, $use_ssl = false) { if ($pubkey == null || $pubkey == '') { die ("To use reCAPTCHA you must get an API key from <a href='https://www.google.com/recaptcha/admin/create'>https://www.google.com/recaptcha/admin/create</a>"); } $server = RECAPTCHA_API_SERVER; $errorpart = ""; if ($error) { $errorpart = "&error=" . $error; } return '<script type="text/javascript" src="'. $server . '/challenge?k=' . $pubkey . $errorpart . '"></script> <noscript> <iframe src="'. $server . '/noscript?k=' . $pubkey . $errorpart . '" height="300" width="500" frameborder="0"></iframe><br/> <textarea name="recaptcha_challenge_field"></textarea> <input type="hidden" name="recaptcha_response_field" value="manual_challenge"/> </noscript>'; }Forum: Plugins
In reply to: [Improved Simpler CSS] MIME type problem if not loggedI’ve encountered same thing. In this case it’s a multisite installation and the custom CSS isn’t loading on any of the sites.
Forum: Plugins
In reply to: [Form Manager] Duplicate reCaptchaI’d like to know this, too.
Forum: Plugins
In reply to: [Advanced Editor Tools] changelogAnd me!