From: Laury GvR Date: Wed, 16 Aug 2017 13:21:31 +0000 (-0400) Subject: Adding captcha to the members only login form X-Git-Tag: v1.0.3^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=61e17ee40d2fa36a034b9afd6b7ab9a6157e4272;p=WP-Themes%2Ftruenorthgolf.git Adding captcha to the members only login form --- diff --git a/parts/glm-members-only-login-form.php b/parts/glm-members-only-login-form.php index 6acc2c6..15e7763 100644 --- a/parts/glm-members-only-login-form.php +++ b/parts/glm-members-only-login-form.php @@ -2,11 +2,11 @@

The information you entered is incorrect. Please try again. - Please enter both username and password. - - + If you need assistance, "; - if ($supportEmail) { + if ($supportEmail) { echo "email (".$supportEmail.")"; if ($supportPhone) { echo " or "; @@ -28,11 +28,18 @@ ?>

- +
- false, + 'form_id' => 'glm_login_form' + ); + $loginForm = wp_login_form($args); + $captcha = apply_filters('cptch_display', '', 'glm_login_form'); + $form = str_replace( '
\ No newline at end of file