Changeset 14134
- Timestamp:
- 10/22/2024 12:12:31 AM (16 months ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login
- Files:
-
- 4 edited
-
backup-codes.php (modified) (4 diffs)
-
enable-2fa.php (modified) (3 diffs)
-
login.php (modified) (3 diffs)
-
pending-create.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/backup-codes.php
r14007 r14134 40 40 <h2 class="center"><?php 41 41 if ( $used_backup_code ) { 42 _e( 'Backup Code used', 'wporg -login' );42 _e( 'Backup Code used', 'wporg' ); 43 43 } else { 44 _e( 'Account Backup Codes', 'wporg -login' );44 _e( 'Account Backup Codes', 'wporg' ); 45 45 } 46 46 ?></h2> … … 50 50 <p><?php 51 51 if ( $used_backup_code ) { 52 _e( "You've logged in with a backup code.<br>These codes are intended to be used when you lose access to your authentication device.<br>Please take a moment to review your account settings and ensure your two-factor settings are up-to-date.", 'wporg -login' );52 _e( "You've logged in with a backup code.<br>These codes are intended to be used when you lose access to your authentication device.<br>Please take a moment to review your account settings and ensure your two-factor settings are up-to-date.", 'wporg' ); 53 53 } else { 54 54 if ( ! $codes_available ) { 55 _e( 'You do not have any backup codes remaining.', 'wporg -login' );55 _e( 'You do not have any backup codes remaining.', 'wporg' ); 56 56 } else { 57 57 printf( … … 60 60 'You have %s backup codes remaining.', 61 61 $codes_available, 62 'wporg -login'62 'wporg' 63 63 ), 64 64 '<code>' . number_format_i18n( $codes_available ) . '</code>' … … 74 74 75 75 <p><?php 76 _e( 'If you run out of backup codes and no longer have access to your authentication device, you are at risk of being locked out of your WordPress.org account if we are unable to verify account ownership.', 'wporg -login' );76 _e( 'If you run out of backup codes and no longer have access to your authentication device, you are at risk of being locked out of your WordPress.org account if we are unable to verify account ownership.', 'wporg' ); 77 77 ?></p> 78 78 79 79 <p> </p> 80 80 81 <p><a href="<?php echo esc_url( $account_settings_url ); ?>"><button class="button-primary"><?php _e( 'View my account settings', 'wporg -login' ); ?></button></a></p>81 <p><a href="<?php echo esc_url( $account_settings_url ); ?>"><button class="button-primary"><?php _e( 'View my account settings', 'wporg' ); ?></button></a></p> 82 82 83 83 <?php if ( $can_ignore ) { ?> 84 84 <p id="nav"> 85 <a href="<?php echo esc_url( $redirect_to ); ?>" style="font-style: italic;"><?php _e( "I'll do this later", 'wporg -login' ); ?></a>85 <a href="<?php echo esc_url( $redirect_to ); ?>" style="font-style: italic;"><?php _e( "I'll do this later", 'wporg' ); ?></a> 86 86 </p> 87 87 <?php } ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/enable-2fa.php
r14013 r14134 31 31 ?> 32 32 33 <h2 class="center"><?php _e( 'Two-Factor Authentication', 'wporg -login' ); ?></h2>33 <h2 class="center"><?php _e( 'Two-Factor Authentication', 'wporg' ); ?></h2> 34 34 35 35 <p> </p> … … 37 37 <p><?php 38 38 if ( $requires_2fa ) { 39 _e( 'WordPress.org now requires that your account be protected by two-factor authentication. Some capabilities may be limited until your account is protected.', 'wporg -login' );39 _e( 'WordPress.org now requires that your account be protected by two-factor authentication. Some capabilities may be limited until your account is protected.', 'wporg' ); 40 40 } else { 41 _e( "WordPress.org supports two-factor authentication and you'll soon be required to configure it on your account.", 'wporg -login' );41 _e( "WordPress.org supports two-factor authentication and you'll soon be required to configure it on your account.", 'wporg' ); 42 42 } 43 43 ?></p> … … 45 45 <p> </p> 46 46 47 <p><?php printf( __( 'For more information on our two-factor options, please read the <a href="%s" target="_blank">documentation</a>.', 'wporg -login' ), 'https://make.wordpress.org/meta/handbook/tutorials-guides/configuring-two-factor-authentication/' ); ?></p>47 <p><?php printf( __( 'For more information on our two-factor options, please read the <a href="%s" target="_blank">documentation</a>.', 'wporg' ), 'https://make.wordpress.org/meta/handbook/tutorials-guides/configuring-two-factor-authentication/' ); ?></p> 48 48 49 49 <p> </p> 50 50 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>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' ); ?></button></a></p> 52 52 53 53 <?php if ( ! $requires_2fa ) { ?> 54 54 <p id="nav"> 55 <a href="<?php echo esc_url( $redirect_to ); ?>" style="font-style: italic;"><?php _e( "I'll do it later", 'wporg -login' ); ?></a>55 <a href="<?php echo esc_url( $redirect_to ); ?>" style="font-style: italic;"><?php _e( "I'll do it later", 'wporg' ); ?></a> 56 56 </p> 57 57 <?php } ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/login.php
r14098 r14134 27 27 <p class="intro"><?php echo wporg_login_wporg_is_starpress(); ?></p> 28 28 <p class="login-username"> 29 <label for="user_login"><?php _e( 'Username or Email Address', 'wporg -login' ); ?></label>29 <label for="user_login"><?php _e( 'Username or Email Address', 'wporg' ); ?></label> 30 30 <input type="text" name="log" id="user_login" class="input" value="<?php echo esc_attr( $username ); ?>" size="20" /> 31 31 </p> 32 32 <p class="login-password"> 33 <label for="user_pass"><?php _e( 'Password', 'wporg -login' ); ?></label>33 <label for="user_pass"><?php _e( 'Password', 'wporg' ); ?></label> 34 34 <span class="wp-pwd" style="display:block;"> 35 35 <input type="password" name="pwd" id="user_pass" class="input password-input" value="" size="20" /> 36 <button type="button" id="wp-hide-pw" class="button button-secondary wp-hide-pw hide-if-no-js" aria-label="<?php esc_attr_e( 'Show password', 'wporg -login' ); ?>">36 <button type="button" id="wp-hide-pw" class="button button-secondary wp-hide-pw hide-if-no-js" aria-label="<?php esc_attr_e( 'Show password', 'wporg' ); ?>"> 37 37 <span class="dashicons dashicons-visibility" aria-hidden="true"></span> 38 38 </button> … … 40 40 </p> 41 41 <?php do_action( 'login_form' ); ?> 42 <p class="login-remember"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" /> <?php _e( 'Remember Me', 'wporg -login' ); ?></label></p>42 <p class="login-remember"><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" /> <?php _e( 'Remember Me', 'wporg' ); ?></label></p> 43 43 <p class="login-submit"> 44 <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary" value="<?php esc_attr_e( 'Log In', 'wporg -login' ); ?>" />44 <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary" value="<?php esc_attr_e( 'Log In', 'wporg' ); ?>" /> 45 45 <input type="hidden" name="redirect_to" value="<?php echo esc_url( $redirect ); ?>" /> 46 46 </p> … … 67 67 if ( p.type === 'password' ) { 68 68 p.type = 'text'; 69 h.ariaLabel = <?php echo json_encode( __( 'Hide password', 'wporg -login' ) ); ?>;69 h.ariaLabel = <?php echo json_encode( __( 'Hide password', 'wporg' ) ); ?>; 70 70 h.children[0].className = 'dashicons dashicons-hidden'; 71 71 } else { 72 72 p.type = 'password'; 73 h.ariaLabel = <?php echo json_encode( __( 'Show password', 'wporg -login' ) ); ?>;73 h.ariaLabel = <?php echo json_encode( __( 'Show password', 'wporg' ) ); ?>; 74 74 h.children[0].className = 'dashicons dashicons-visibility'; 75 75 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/pending-create.php
r14118 r14134 181 181 </span> 182 182 183 <button type="button" class="button button-secondary wp-hide-pw hide-if-no-js" aria-label="<?php esc_attr_e( 'Hide password', 'wporg -login' ); ?>">183 <button type="button" class="button button-secondary wp-hide-pw hide-if-no-js" aria-label="<?php esc_attr_e( 'Hide password', 'wporg' ); ?>"> 184 184 <span class="dashicons dashicons-hidden" aria-hidden="true"></span> 185 185 </button>
Note: See TracChangeset
for help on using the changeset viewer.