From bfc3cc9461a32defaadef07dd67280437741a0ac Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Wed, 27 Apr 2011 19:40:43 +0000 Subject: [PATCH] Fix URLs to reflect change in reCAPTCHA API --- plugins/Recaptcha/RecaptchaPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Recaptcha/RecaptchaPlugin.php b/plugins/Recaptcha/RecaptchaPlugin.php index adbd022e80..fbc0e0cac1 100644 --- a/plugins/Recaptcha/RecaptchaPlugin.php +++ b/plugins/Recaptcha/RecaptchaPlugin.php @@ -71,9 +71,9 @@ class RecaptchaPlugin extends Plugin if (isset($action->recaptchaPluginNeedsOutput) && $action->recaptchaPluginNeedsOutput) { // Load the AJAX API if (StatusNet::isHTTPS()) { - $url = "https://api-secure.recaptcha.net/js/recaptcha_ajax.js"; + $url = "https://www.google.com/recaptcha/api/js/recaptcha_ajax.js"; } else { - $url = "http://api.recaptcha.net/js/recaptcha_ajax.js"; + $url = "http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"; } $action->script($url); -- 2.39.5