Making WordPress.org


Ignore:
Timestamp:
05/17/2021 04:58:00 AM (9 months ago)
Author:
dd32
Message:

Registration: Allow changing of email address during the registration flow.

This is only available once per account, and only prior to confirming the email address.

Fixes #5181.

File:
1 edited

Legend:

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

    r10964 r10981  
    5151}
    5252
    53 if ( wporg_login_save_profile_fields( $pending_user ) ) {
     53if ( wporg_login_save_profile_fields( $pending_user, 'create' ) ) {
    5454    // re-fetch the user, it's probably changed.
    5555    $pending_user = wporg_get_pending_user( $activation_user );
     
    149149    <p class="login-login">
    150150        <label for="user_login"><?php _e( 'Username', 'wporg' ); ?></label>
    151         <input type="text" disabled="disabled" class=" disabled" value="<?php echo esc_attr( $activation_user ); ?>" size="20" />
     151        <input type="text" disabled="disabled" class="disabled" value="<?php echo esc_attr( $activation_user ); ?>" size="20" />
    152152    </p>
    153153
Note: See TracChangeset for help on using the changeset viewer.