Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions includes/admin/views/html-admin-page-system-info.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,19 @@
);

// Required pages.
// Lost Password is the primary reset flow; a separate Reset Password page is legacy/optional only.
$ur_plugin_pages = array(
'user_registration_login_page_id' => __( 'Login Page', 'user-registration' ),
'user_registration_lost_password_page_id' => __( 'Lost Password Page', 'user-registration' ),
'user_registration_reset_password_page_id' => __( 'Reset Password Page', 'user-registration' ),
'user_registration_myaccount_page_id' => __( 'My Account Page', 'user-registration' ),
'user_registration_login_page_id' => __( 'Login Page', 'user-registration' ),
'user_registration_lost_password_page_id' => __( 'Lost Password Page', 'user-registration' ),
'user_registration_myaccount_page_id' => __( 'My Account Page', 'user-registration' ),
);

// Only list the deprecated Reset Password page when it is configured (legacy installs).
$ur_reset_password_page_id = absint( get_option( 'user_registration_reset_password_page_id', 0 ) );
if ( $ur_reset_password_page_id ) {
$ur_plugin_pages['user_registration_reset_password_page_id'] = __( 'Reset Password Page', 'user-registration' );
}

if ( ur_check_module_activation( 'membership' ) ) {
$ur_plugin_pages['user_registration_member_registration_page_id'] = __( 'Membership Registration Page', 'user-registration' );
$ur_plugin_pages['user_registration_thank_you_page_id'] = __( 'Thank You Page', 'user-registration' );
Expand Down
Loading