Making WordPress.org

Changeset 6788


Ignore:
Timestamp:
02/27/2018 03:12:00 AM (8 years ago)
Author:
dd32
Message:

2FA: Always show the "Try a backup option" link when using the primary authentication class.

See #77.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-two-factor/wporg-two-factor.php

    r6787 r6788  
    289289                </div><!-- Opened in login_header() -->
    290290
    291                 <?php if ( empty( $_GET['action'] ) ) : ?>
     291                <?php if ( 'WPORG_Two_Factor_Primary' === $provider_class ) : ?>
    292292                <div class="backup-methods-wrap">
    293293                        <a href="<?php echo esc_url( add_query_arg( urlencode_deep( array(
Note: See TracChangeset for help on using the changeset viewer.