We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a25f71d commit 1cc1fc4Copy full SHA for 1cc1fc4
includes/actions.php
@@ -398,6 +398,14 @@ function wpum_prevent_entire_site() {
398
return;
399
}
400
401
+ $password_reset_page_id = wpum_get_core_page_id( 'password' );
402
+ if ( ! empty( $password_reset_page_id ) ) {
403
+ $password_reset_page = get_permalink( $password_reset_page_id );
404
+ if ( 0 === strpos( home_url( $_SERVER['REQUEST_URI'] ), $password_reset_page ) ) {
405
+ return;
406
+ }
407
408
+
409
if ( wpum_get_option( 'lock_complete_site_allow_register' ) ) {
410
$registration_pages = array();
411
$registration_pages[] = get_permalink( wpum_get_core_page_id( 'register' ) );
0 commit comments