From cb77bc44cd1f1fac5ec5e929de118e233834d058 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 11 May 2017 11:18:21 -0400 Subject: [PATCH] Add captcha to member login forms Needed to have the member login form work with captcha plugin. --- parts/glm-members-only-login-form.php | 11 +++++++++-- style.css | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/parts/glm-members-only-login-form.php b/parts/glm-members-only-login-form.php index a47937e..cf5def0 100644 --- a/parts/glm-members-only-login-form.php +++ b/parts/glm-members-only-login-form.php @@ -32,7 +32,14 @@
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 + diff --git a/style.css b/style.css index 57e19e0..9aef591 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: MCDA Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for MCDA -Version: 1.0.0 +Version: 1.0.2 */ -- 2.17.1