We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa8cfda commit b2b605eCopy full SHA for b2b605e
class-two-factor-core.php
@@ -1848,7 +1848,7 @@ public static function user_two_factor_options( $user ) {
1848
// This is specific to the current session, not the displayed user.
1849
$show_2fa_options = self::current_user_can_update_two_factor_options();
1850
1851
- if ( $providers && ! $show_2fa_options ) {
+ if ( ! $show_2fa_options ) {
1852
$url = add_query_arg(
1853
'redirect_to',
1854
urlencode( self::get_user_settings_page_url( $user->ID ) . '#two-factor-options' ),
0 commit comments