Skip to content

Commit fe16f23

Browse files
authored
Consistent button labels and matching screenshots
2 parents 06bfe12 + 575b399 commit fe16f23

8 files changed

Lines changed: 4 additions & 4 deletions

‎assets/screenshot-1.png‎

-53.1 KB
Loading

‎assets/screenshot-2.png‎

-57.4 KB
Loading

‎assets/screenshot-3.png‎

-11.6 KB
Loading

‎assets/screenshot-4.png‎

29.9 KB
Loading

‎assets/screenshot-5.png‎

34.5 KB
Loading

‎providers/class-two-factor-backup-codes.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ public function authentication_page( $user ) {
358358
<input type="text" inputmode="numeric" name="two-factor-backup-code" id="authcode" class="input authcode" value="" size="20" pattern="[0-9 ]*" placeholder="<?php echo esc_attr( $code_placeholder ); ?>" data-digits="<?php echo esc_attr( $code_length ); ?>" />
359359
</p>
360360
<?php
361-
submit_button( __( 'Submit', 'two-factor' ) );
361+
submit_button( __( 'Verify', 'two-factor' ) );
362362
}
363363

364364
/**

‎providers/class-two-factor-email.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public function authentication_page( $user ) {
295295
<p>
296296
<label for="authcode"><?php esc_html_e( 'Verification Code:', 'two-factor' ); ?></label>
297297
<input type="text" inputmode="numeric" name="two-factor-email-code" id="authcode" class="input authcode" value="" size="20" pattern="[0-9 ]*" autocomplete="one-time-code" placeholder="<?php echo esc_attr( $token_placeholder ); ?>" data-digits="<?php echo esc_attr( $token_length ); ?>" />
298-
<?php submit_button( __( 'Log In', 'two-factor' ) ); ?>
298+
<?php submit_button( __( 'Verify', 'two-factor' ) ); ?>
299299
</p>
300300
<p class="two-factor-email-resend">
301301
<input type="submit" class="button" name="<?php echo esc_attr( self::INPUT_NAME_RESEND_CODE ); ?>" value="<?php esc_attr_e( 'Resend Code', 'two-factor' ); ?>" />

‎providers/class-two-factor-totp.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ public function user_two_factor_options( $user ) {
355355
?>
356356
<input type="text" inputmode="numeric" name="two-factor-totp-authcode" id="two-factor-totp-authcode" class="input" value="" size="20" pattern="[0-9 ]*" placeholder="<?php echo esc_attr( $placeholder ); ?>" autocomplete="off" />
357357
</label>
358-
<input type="submit" class="button totp-submit" name="two-factor-totp-submit" value="<?php esc_attr_e( 'Submit', 'two-factor' ); ?>" />
358+
<input type="submit" class="button totp-submit" name="two-factor-totp-submit" value="<?php esc_attr_e( 'Verify', 'two-factor' ); ?>" />
359359
</p>
360360

361361
<script>
@@ -702,7 +702,7 @@ public function authentication_page( $user ) {
702702
}, 200);
703703
</script>
704704
<?php
705-
submit_button( __( 'Authenticate', 'two-factor' ) );
705+
submit_button( __( 'Verify', 'two-factor' ) );
706706
}
707707

708708
/**

0 commit comments

Comments
 (0)