Changeset 14013
- Timestamp:
- 09/02/2024 03:27:04 AM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/enable-2fa.php
r13982 r14013 1 1 <?php 2 use function WordPressdotorg\Two_Factor\{ user_requires_2fa, user_should_2fa, get_ edit_account_url };2 use function WordPressdotorg\Two_Factor\{ user_requires_2fa, user_should_2fa, get_onboarding_account_url }; 3 3 /** 4 4 * The 'Enable 2FA' notification screen. … … 49 49 <p> </p> 50 50 51 <p><a href="<?php echo esc_url( get_edit_account_url() ); ?>"><button class="button-primary"><?php _e( "OK, I'll setup Two-Factor now.", 'wporg-login' ); ?></button></a></p>51 <p><a href="<?php echo esc_url( add_query_arg( 'redirect_to', urlencode( $redirect_to ), get_onboarding_account_url() ) ); ?>"><button class="button-primary"><?php _e( "OK, I'll setup Two-Factor now.", 'wporg-login' ); ?></button></a></p> 52 52 53 53 <?php if ( ! $requires_2fa ) { ?>
Note: See TracChangeset
for help on using the changeset viewer.