Making WordPress.org


Ignore:
Timestamp:
06/30/2021 12:25:52 AM (5 years ago)
Author:
dd32
Message:

Login: URIEncode emails/usernames in the HTTP request to preserve all characters.

Follow up to r11073

File:
1 edited

Legend:

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

    r11049 r11081  
    9898    );
    9999
    100     wp_register_script( 'wporg-registration', get_template_directory_uri() . '/js/registration.js', array( 'recaptcha-api', 'jquery' ), '20210517' );
     100    wp_register_script( 'wporg-registration', get_template_directory_uri() . '/js/registration.js', array( 'recaptcha-api', 'jquery' ), filemtime( __DIR__ . '/js/registration.js' ) );
    101101    wp_localize_script( 'wporg-registration', 'wporg_registration', array(
    102102        'rest_url' => esc_url_raw( rest_url( 'wporg/v1' ) )
Note: See TracChangeset for help on using the changeset viewer.