Fix splash login form redirect by removing unnecessary echo
authorLaury GvR <laury@gaslightmedia.com>
Tue, 10 Jul 2018 20:35:50 +0000 (16:35 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 10 Jul 2018 20:35:50 +0000 (16:35 -0400)
sections/landing-page.php

index 48a0c0b..a5657fa 100644 (file)
@@ -67,7 +67,7 @@
                                 $args = array(
                                     'echo'    => false,
                                     'form_id' => 'glm_login_form',
-                                    'redirect'=> echo get_permalink(2)
+                                    'redirect'=> get_permalink(2)
                                 );
                                 $loginForm = wp_login_form($args);
                                 $captcha   = apply_filters('cptch_display', '', 'glm_login_form');