From 96c7c4bbe11a394efa1a8254f4bd5159cc6fd0b0 Mon Sep 17 00:00:00 2001 From: lucha <lucha@paranoici.org> Date: Sun, 11 Nov 2018 11:39:39 -0800 Subject: [PATCH] Activation form uses post and not get methods now Should fix issue #20 --- wp-content/themes/noblogs-home/registration/activate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/noblogs-home/registration/activate.php b/wp-content/themes/noblogs-home/registration/activate.php index d2eddc4a3..d3d61214f 100644 --- a/wp-content/themes/noblogs-home/registration/activate.php +++ b/wp-content/themes/noblogs-home/registration/activate.php @@ -29,10 +29,10 @@ <p><?php _e( 'Please provide a valid activation key.', 'buddypress' ); ?></p> - <form action="" method="get" class="standard-form" id="activation-form"> + <form action="" method="post" class="standard-form" id="activation-form"> <label for="key"><?php _e( 'Activation Key:', 'buddypress' ); ?></label> - <input type="text" name="key" id="key" value="" /> + <input type="text" name="key" id="key" value="<?php echo esc_attr( bp_get_current_activation_key() ); ?>" /> <p class="submit"> <input type="submit" name="submit" value="<?php _e( 'Activate', 'buddypress' ); ?>" /> -- GitLab