WordPress.org

Making WordPress.org

Changeset 6796


Ignore:
Timestamp:
02/27/2018 12:26:02 PM (3 years ago)
Author:
dd32
Message:

2FA: Run capital_P_dangit() over the plugin.

H/t swissspidy.
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

    r6795 r6796  
    448448                <p><?php esc_html_e( 'Scan this QR code with your authentication app.', 'wporg' ); ?></p>
    449449                <p><button type="button" class="button-link"><?php esc_html_e( 'Can&#8217;t scan the code?', 'wporg' ); ?></button></p>
    450                 <img src="<?php echo esc_url( Two_Factor_Totp::get_google_qr_code( 'wordpress.org:' . $user->user_login, $key, 'wordpress.org' ) ); ?>" id="two-factor-totp-qrcode" />
     450                <img src="<?php echo esc_url( Two_Factor_Totp::get_google_qr_code( 'WordPress.org: ' . $user->user_login, $key, 'WordPress.org' ) ); ?>" id="two-factor-totp-qrcode" />
    451451                <p><?php esc_html_e( 'Then enter the authentication code provided by the app:', 'wporg' ); ?></p>
    452452                <p>
Note: See TracChangeset for help on using the changeset viewer.