WordPress.org

Making WordPress.org


Ignore:
Timestamp:
05/17/2021 04:58:00 AM (8 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/functions.php

    r10948 r10981  
    5757 */
    5858function wporg_login_replace_css() {
    59     wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20210414' );
     59    wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20210517' );
    6060}
    6161add_action( 'login_init', 'wporg_login_replace_css' );
     
    7373
    7474    wp_enqueue_style( 'wporg-normalize', get_template_directory_uri() . '/stylesheets/normalize.css', 3 );
    75     wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20210414' );
     75    wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20210517' );
    7676}
    7777add_action( 'wp_enqueue_scripts', 'wporg_login_scripts' );
     
    9898    );
    9999
    100     wp_register_script( 'wporg-registration', get_template_directory_uri() . '/js/registration.js', array( 'recaptcha-api', 'jquery' ), '20200707' );
     100    wp_register_script( 'wporg-registration', get_template_directory_uri() . '/js/registration.js', array( 'recaptcha-api', 'jquery' ), '20210517' );
    101101    wp_localize_script( 'wporg-registration', 'wporg_registration', array(
    102         'rest_url' => esc_url_raw( rest_url( "wporg/v1" ) )
     102        'rest_url' => esc_url_raw( rest_url( 'wporg/v1' ) )
    103103    ) );
    104104
Note: See TracChangeset for help on using the changeset viewer.