Making WordPress.org


Ignore:
Timestamp:
07/07/2020 08:02:03 AM (4 years ago)
Author:
dd32
Message:

Login: Allow users to resend the signup confirmation email.

To trigger this, either the user needs to click the resend link on the post-signup profile-info page, or attempt to sign up again using the same username or email.

The emails are rate limited depending on the age of the account, and also based on some WordPress.org anti-spam measures.

See #5278.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/pending-profile.php

    r9835 r10029  
    5050get_header();
    5151?>
    52 <div class="message info">
    53     <p><?php
    54         printf(
    55             /* translators: %s Email address */
    56             __( 'Please check your email %s for a confirmation link to set your password.', 'wporg' ),
    57             '<code>' . esc_html( $pending_user['user_email'] ) . '</code>'
    58         );
    59     ?></p>
    60 </div>
     52<form name="registerform" id="registerform" action="" method="post">
    6153
    62 <p class="intro">
    63 <?php _e( 'Complete your WordPress.org Profile information.', 'wporg' ); ?>
    64 </p>
     54    <div class="message info">
     55        <p><?php
     56            printf(
     57                /* translators: %s Email address */
     58                __( 'Please check your email %s for a confirmation link to set your password.', 'wporg' ) . '<br>' .
     59                '<a href="#" class="resend" data-account="%s">' . __( 'Resend confirmation email.', 'wporg' ) . '</a>',
     60                '<code>' . esc_html( $pending_user['user_email'] ) . '</code>',
     61                esc_attr( $pending_user['user_email'] )
     62            );
     63        ?></p>
     64    </div>
    6565
    66 <form name="registerform" id="registerform" action="" method="post">
     66    <p class="intro">
     67    <?php _e( 'Complete your WordPress.org Profile information.', 'wporg' ); ?>
     68    </p>
    6769
    6870    <p class="login-login">
Note: See TracChangeset for help on using the changeset viewer.