Changeset 6493
- Timestamp:
- 01/31/2018 11:21:10 PM (7 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/checkemail.php
r4470 r6493 9 9 ?> 10 10 11 <p class="center singleline"><?php _e( 'Check your email for a confirmation link.', 'wporg -login' ); ?></p>11 <p class="center singleline"><?php _e( 'Check your email for a confirmation link.', 'wporg' ); ?></p> 12 12 13 13 <p id="nav"> 14 <a href="/"><?php _e( '← Back to login', 'wporg -login' ); ?></a>14 <a href="/"><?php _e( '← Back to login', 'wporg' ); ?></a> 15 15 </p> 16 16 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php
r6395 r6493 34 34 wp_die( $pre_register_error ); 35 35 } 36 wp_die( __( 'Registration Blocked. Please stop.', 'wporg -login' ) );36 wp_die( __( 'Registration Blocked. Please stop.', 'wporg' ) ); 37 37 } 38 38 39 39 $user_id = wpmu_create_user( wp_slash( $user_login ), wp_generate_password(), wp_slash( $user_email ) ); 40 40 if ( ! $user_id ) { 41 wp_die( __( 'Error! Something went wrong with your registration. Try again?', 'wporg -login' ) );41 wp_die( __( 'Error! Something went wrong with your registration. Try again?', 'wporg' ) ); 42 42 } 43 43 … … 57 57 } 58 58 59 $body = sprintf( __( 'Hi %s,', 'wporg -login' ), $user_login ) . "\n\n";60 $body .= __( 'Welcome to WordPress.org! Your new account has been setup.', 'wporg -login' ) . "\n";59 $body = sprintf( __( 'Hi %s,', 'wporg' ), $user_login ) . "\n\n"; 60 $body .= __( 'Welcome to WordPress.org! Your new account has been setup.', 'wporg' ) . "\n"; 61 61 $body .= "\n"; 62 $body .= sprintf( __( 'Your username is: %s', 'wporg -login' ), $user_login ) . "\n";63 $body .= __( 'You can create a password at the following URL:', 'wporg -login' ) . "\n";62 $body .= sprintf( __( 'Your username is: %s', 'wporg' ), $user_login ) . "\n"; 63 $body .= __( 'You can create a password at the following URL:', 'wporg' ) . "\n"; 64 64 $body .= home_url( "/register/confirm/{$user_login}/{$activation_key}/" ); 65 65 $body .= "\n\n"; 66 $body .= __( '-- The WordPress.org Team', 'wporg -login' );66 $body .= __( '-- The WordPress.org Team', 'wporg' ); 67 67 68 68 wp_mail( 69 69 $user_email, 70 __( '[WordPress.org] Your new account', 'wporg -login' ),70 __( '[WordPress.org] Your new account', 'wporg' ), 71 71 $body, 72 72 array( -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-restapi.php
r4536 r6493 31 31 return [ 32 32 'available' => false, 33 'error' => __( 'That username is already in use.', 'wporg -login' ) . '<br>' . __( 'Is it yours? <a href="/lostpassword">Reset your password</a>.', 'wporg-plugins' ),33 'error' => __( 'That username is already in use.', 'wporg' ) . '<br>' . __( 'Is it yours? <a href="/lostpassword">Reset your password</a>.', 'wporg' ), 34 34 'avatar' => get_avatar( $user, 64 ), 35 35 ]; … … 56 56 return [ 57 57 'available' => false, 58 'error' => __( 'That email address already has an account.', 'wporg -login' ) . '<br>' . __( 'Is it yours? <a href="/lostpassword">Reset your password</a>.', 'wporg-plugins' ),58 'error' => __( 'That email address already has an account.', 'wporg' ) . '<br>' . __( 'Is it yours? <a href="/lostpassword">Reset your password</a>.', 'wporg' ), 59 59 'avatar' => get_avatar( $user, 64 ), 60 60 ]; -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions.php
r6397 r6493 18 18 */ 19 19 function wporg_login_setup() { 20 load_theme_textdomain( 'wporg -login' );20 load_theme_textdomain( 'wporg' ); 21 21 } 22 22 add_action( 'after_setup_theme', 'wporg_login_setup' ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/header.php
r4470 r6493 19 19 20 20 <div id="login"> 21 <h1><a href="https://wordpress.org/" title="WordPress.org" tabindex="-1"><?php _e( 'WordPress.org Login' ); ?></a></h1>21 <h1><a href="https://wordpress.org/" title="WordPress.org" tabindex="-1"><?php _e( 'WordPress.org Login', 'wporg' ); ?></a></h1> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/loggedout.php
r4470 r6493 9 9 ?> 10 10 11 <p class="center"><?php _e( 'You are now logged out.', 'wporg -login' ); ?></p>11 <p class="center"><?php _e( 'You are now logged out.', 'wporg' ); ?></p> 12 12 13 13 <p id="nav"> 14 <a href="/"><?php _e( '← Back to login', 'wporg -login' ); ?></a>14 <a href="/"><?php _e( '← Back to login', 'wporg' ); ?></a> 15 15 </p> 16 16 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/login.php
r4959 r6493 8 8 get_header(); 9 9 ?> 10 <p class="intro"><?php _e( 'Log in to your WordPress.org account to contribute to WordPress, get help in the support forum, or rate and review themes and plugins.', 'wporg -login' ); ?></p>10 <p class="intro"><?php _e( 'Log in to your WordPress.org account to contribute to WordPress, get help in the support forum, or rate and review themes and plugins.', 'wporg' ); ?></p> 11 11 12 12 <?php wp_login_form(); ?> 13 13 14 14 <p id="nav"> 15 <a href="/lostpassword/" title="<?php _e( 'Password Lost and Found', 'wporg -login' ); ?>"><?php _e( 'Lost password?', 'wporg-login' ); ?></a> • 16 <a href="<?php echo esc_url( wp_registration_url() ); ?>" title="<?php _e( 'Create an account', 'wporg -login' ); ?>"><?php _e( 'Create an account', 'wporg-login' ); ?></a>15 <a href="/lostpassword/" title="<?php _e( 'Password Lost and Found', 'wporg' ); ?>"><?php _e( 'Lost password?', 'wporg' ); ?></a> • 16 <a href="<?php echo esc_url( wp_registration_url() ); ?>" title="<?php _e( 'Create an account', 'wporg' ); ?>"><?php _e( 'Create an account', 'wporg' ); ?></a> 17 17 </p> 18 18 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/logout.php
r4470 r6493 8 8 get_header(); 9 9 ?> 10 <p class="intro"><?php _e( 'You are attempting to log out of WordPress.org.', 'wporg -login' ); ?></p>10 <p class="intro"><?php _e( 'You are attempting to log out of WordPress.org.', 'wporg' ); ?></p> 11 11 12 12 <?php 13 13 printf( 14 14 /* translators: %s: logout URL */ 15 __( 'Do you really want to <a href="%s">log out</a>?', 'wporg -login' ),15 __( 'Do you really want to <a href="%s">log out</a>?', 'wporg' ), 16 16 wp_logout_url( home_url( '/loggedout/ ' ) ) 17 17 ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/lostpassword.php
r4470 r6493 10 10 11 11 <form name="lostpasswordform" id="lostpasswordform" action="/wp-login.php?action=lostpassword" method="post"> 12 <p class="intro"><?php _e( 'Please enter your username or email address. You will receive a link to create a new password via email.', 'wporg -login' ); ?></p>12 <p class="intro"><?php _e( 'Please enter your username or email address. You will receive a link to create a new password via email.', 'wporg' ); ?></p> 13 13 <p> 14 <label for="user_login"><?php _e( 'Username or Email', 'wporg -login' ); ?>14 <label for="user_login"><?php _e( 'Username or Email', 'wporg' ); ?> 15 15 <input type="text" name="user_login" id="user_login" value="" size="20"></label> 16 16 </p> 17 17 <input type="hidden" name="redirect_to" value="/checkemail/"> 18 18 <p class="submit"> 19 <input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e( 'Get new password', 'wporg -login' ); ?>">19 <input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e( 'Get new password', 'wporg' ); ?>"> 20 20 </p> 21 21 </form> 22 22 <p id="nav"> 23 <a href="/"><?php _e( '← Back to login', 'wporg -login' ); ?></a>23 <a href="/"><?php _e( '← Back to login', 'wporg' ); ?></a> 24 24 </p> 25 25 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/partials/register-profilefields.php
r4953 r6493 19 19 ?> 20 20 <p class="login-website"> 21 <label for="user_website"><?php _e( 'Website', 'wporg -login' ); ?></label>21 <label for="user_website"><?php _e( 'Website', 'wporg' ); ?></label> 22 22 <input type="text" name="user_fields[url]" id="user_url" class="input" value="<?php echo esc_attr( $fields['url'] ); ?>" size="20" placeholder="https://" /> 23 23 </p> 24 24 25 25 <p class="login-location"> 26 <label for="user_location"><?php _e( 'Location', 'wporg -login' ); ?></label>26 <label for="user_location"><?php _e( 'Location', 'wporg' ); ?></label> 27 27 <input type="text" name="user_fields[from]" id="user_location" class="input" value="<?php echo esc_attr( $fields['from'] ); ?>" size="20" /> 28 28 </p> 29 29 30 30 <p class="login-occupation"> 31 <label for="user_occupation"><?php _e( 'Occupation', 'wporg -login' ); ?></label>31 <label for="user_occupation"><?php _e( 'Occupation', 'wporg' ); ?></label> 32 32 <input type="text" name="user_fields[occ]" id="user_occupation" class="input" value="<?php echo esc_attr( $fields['occ'] ); ?>" size="20" /> 33 33 </p> 34 34 35 35 <p class="login-interests"> 36 <label for="user_interests"><?php _e( 'Interests', 'wporg -login' ); ?></label>36 <label for="user_interests"><?php _e( 'Interests', 'wporg' ); ?></label> 37 37 <input type="text" name="user_fields[interests]" id="user_interests" class="input" value="<?php echo esc_attr( $fields['interests'] ); ?>" size="20" /> 38 38 </p> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/register-confirm.php
r6395 r6493 66 66 67 67 <p class="intro"> 68 <?php _e( 'Set your password and complete your WordPress.org Profile information.', 'wporg -login' ); ?>68 <?php _e( 'Set your password and complete your WordPress.org Profile information.', 'wporg' ); ?> 69 69 </p> 70 70 … … 73 73 <div class="user-pass1-wrap"> 74 74 <p> 75 <label for="pass1"><?php _e( 'Password', 'wporg -login' ); ?></label>75 <label for="pass1"><?php _e( 'Password', 'wporg' ); ?></label> 76 76 </p> 77 77 … … 80 80 <input type="password" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 16 ) ); ?>" name="user_pass" id="pass1" class="input" size="20" value="" autocomplete="off" aria-describedby="pass-strength-result" /> 81 81 </span> 82 <div id="pass-strength-result" class="hide-if-no-js" aria-live="polite"><?php _e( 'Strength indicator', 'wporg -login' ); ?></div>82 <div id="pass-strength-result" class="hide-if-no-js" aria-live="polite"><?php _e( 'Strength indicator', 'wporg' ); ?></div> 83 83 </div> 84 84 </div> 85 85 86 <!-- <p class="description indicator-hint"><?php _e( 'Hint: The password should be at least twelve characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).', 'wporg -login' ); ?></p> -->86 <!-- <p class="description indicator-hint"><?php _e( 'Hint: The password should be at least twelve characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).', 'wporg' ); ?></p> --> 87 87 88 88 <?php include __DIR__ . '/partials/register-profilefields.php'; ?> 89 89 90 90 <p class="login-submit"> 91 <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary" value="<?php esc_attr_e( 'Create Account', 'wporg -login' ); ?>" />91 <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary" value="<?php esc_attr_e( 'Create Account', 'wporg' ); ?>" /> 92 92 </p> 93 93 … … 95 95 96 96 <p id="nav"> 97 <a href="https://wordpress.org/"><?php _e( 'WordPress.org', 'wporg -login' ); ?></a>97 <a href="https://wordpress.org/"><?php _e( 'WordPress.org', 'wporg' ); ?></a> 98 98 </p> 99 99 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/register-profile.php
r4952 r6493 35 35 printf( 36 36 /* translators: %s Email address */ 37 __( 'Please check your email %s for a confirmation link to set your password.', 'wporg -login' ),37 __( 'Please check your email %s for a confirmation link to set your password.', 'wporg' ), 38 38 '<code>' . esc_html( wp_get_current_user()->user_email ) . '</code>' 39 39 ); … … 42 42 43 43 <p class="intro"> 44 <?php _e( 'Complete your WordPress.org Profile information.', 'wporg -login' ); ?>44 <?php _e( 'Complete your WordPress.org Profile information.', 'wporg' ); ?> 45 45 </p> 46 46 … … 50 50 51 51 <p class="login-submit"> 52 <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary" value="<?php esc_attr_e( 'Save Profile Information', 'wporg -login' ); ?>" />52 <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary" value="<?php esc_attr_e( 'Save Profile Information', 'wporg' ); ?>" /> 53 53 </p> 54 54 … … 56 56 57 57 <p id="nav"> 58 <a href="https://wordpress.org/"><?php _e( 'WordPress.org', 'wporg -login' ); ?></a>58 <a href="https://wordpress.org/"><?php _e( 'WordPress.org', 'wporg' ); ?></a> 59 59 </p> 60 60 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/register.php
r5143 r6493 40 40 ?> 41 41 42 <p class="intro"><?php _e( 'Create a WordPress.org account to start contributing to WordPress, get help in the support forums, or rate and review themes and plugins.', 'wporg -login' ); ?></p>42 <p class="intro"><?php _e( 'Create a WordPress.org account to start contributing to WordPress, get help in the support forums, or rate and review themes and plugins.', 'wporg' ); ?></p> 43 43 44 44 <form name="registerform" id="registerform" action="/register" method="post"> 45 45 46 46 <p class="login-username"> 47 <label for="user_login"><?php _e( 'Username', 'wporg -login' ); ?></label>47 <label for="user_login"><?php _e( 'Username', 'wporg' ); ?></label> 48 48 <input type="text" name="user_login" id="user_login" class="input <?php if ( $error_user_login ) echo 'error'; ?>" value="<?php echo esc_attr( $user_login ) ?>" size="20" maxlength="60" /> 49 <span class="small"><?php _e( 'Required. Only lower case letters (a-z) and numbers (0-9) are allowed.', 'wporg -login' ); ?></span>49 <span class="small"><?php _e( 'Required. Only lower case letters (a-z) and numbers (0-9) are allowed.', 'wporg' ); ?></span> 50 50 </p> 51 51 <?php … … 61 61 62 62 <p class="login-email"> 63 <label for="user_email"><?php _e( 'Email', 'wporg -login' ); ?></label>63 <label for="user_email"><?php _e( 'Email', 'wporg' ); ?></label> 64 64 <input type="email" name="user_email" id="user_email" class="input <?php if ( $error_user_email ) echo 'error'; ?>" value="<?php echo esc_attr( $user_email ) ?>" size="20" maxlength="100" /> 65 <span class="small"><?php _e( 'Required. Your password will be emailed here.', 'wporg -login' ); ?></span>65 <span class="small"><?php _e( 'Required. Your password will be emailed here.', 'wporg' ); ?></span> 66 66 </p> 67 67 <?php … … 79 79 <label> 80 80 <input name="user_mailinglist" type="checkbox" id="user_mailinglist" value="true" <?php checked( $user_mailinglist, true ); ?>> 81 <?php _e( 'Subscribe to WordPress Announcements mailing list (a few messages a year)', 'wporg -login' ); ?>81 <?php _e( 'Subscribe to WordPress Announcements mailing list (a few messages a year)', 'wporg' ); ?> 82 82 </label> 83 83 </p> 84 84 <?php 85 85 if ( $error_recapcha_status ) { 86 echo '<div class="message error"><p>' . __( 'Please try again.', 'wporg -login' ) . '</p></div>';86 echo '<div class="message error"><p>' . __( 'Please try again.', 'wporg' ) . '</p></div>'; 87 87 } 88 88 ?> 89 89 90 90 <p class="login-submit"> 91 <input data-sitekey="<?php echo esc_attr( RECAPTCHA_INVIS_PUBKEY ); ?>" data-callback='onSubmit' type="submit" name="wp-submit" id="wp-submit" class="g-recaptcha button button-primary" value="<?php esc_attr_e( 'Create Account', 'wporg -login' ); ?>" />91 <input data-sitekey="<?php echo esc_attr( RECAPTCHA_INVIS_PUBKEY ); ?>" data-callback='onSubmit' type="submit" name="wp-submit" id="wp-submit" class="g-recaptcha button button-primary" value="<?php esc_attr_e( 'Create Account', 'wporg' ); ?>" /> 92 92 </p> 93 93 … … 95 95 96 96 <p id="nav"> 97 <a href="/" title="<?php esc_attr_e( 'Already have an account?', 'wporg -login' ); ?>"><?php _e( 'Already have an account?', 'wporg-login' ); ?></a> • 98 <a href="https://wordpress.org/"><?php _e( 'WordPress.org', 'wporg -login' ); ?></a>97 <a href="/" title="<?php esc_attr_e( 'Already have an account?', 'wporg' ); ?>"><?php _e( 'Already have an account?', 'wporg' ); ?></a> • 98 <a href="https://wordpress.org/"><?php _e( 'WordPress.org', 'wporg' ); ?></a> 99 99 100 100 </p>
Note: See TracChangeset
for help on using the changeset viewer.