mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Add reset password
This commit is contained in:
@@ -341,9 +341,7 @@ class Secure {
|
|||||||
|
|
||||||
$content .= $br . $br . '<strong>Install Challenge-Response plugin to Login & Register Forms</strong>';
|
$content .= $br . $br . '<strong>Install Challenge-Response plugin to Login & Register Forms</strong>';
|
||||||
if ( ! array_key_exists( 'um-recaptcha/um-recaptcha.php', $all_plugins ) ) {
|
if ( ! array_key_exists( 'um-recaptcha/um-recaptcha.php', $all_plugins ) ) {
|
||||||
if ( ! isset( $_SERVER['HTTPS'] ) || 'on' !== $_SERVER['HTTPS'] ) {
|
$content .= $br . $flag . 'We recommend that you install and enable <a href="https://wordpress.org/plugins/um-recaptcha/" target="_blank">ReCaptcha</a> to your Reset Password, Login & Register forms.';
|
||||||
$content .= $br . $flag . 'We recommend that you install and enable ReCaptcha to Login & Register forms.';
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
if ( in_array( 'um-recaptcha/um-recaptcha.php', $active_plugins, true ) ) {
|
if ( in_array( 'um-recaptcha/um-recaptcha.php', $active_plugins, true ) ) {
|
||||||
$content .= $br . $check . 'Ultimate Member ReCaptcha is actived.';
|
$content .= $br . $check . 'Ultimate Member ReCaptcha is actived.';
|
||||||
|
|||||||
Reference in New Issue
Block a user