Making WordPress.org

Changeset 9835


Ignore:
Timestamp:
05/07/2020 02:50:39 AM (5 years ago)
Author:
dd32
Message:

Login: Display the chosen username on the user creation screens, to remind the user what login they're working with.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login
Files:
4 edited

Legend:

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

    r9829 r9835  
    5353 */
    5454function wporg_login_replace_css() {
    55     wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20191023' );
     55    wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20200507' );
    5656}
    5757add_action( 'login_init', 'wporg_login_replace_css' );
     
    6969
    7070    wp_enqueue_style( 'wporg-normalize', get_template_directory_uri() . '/stylesheets/normalize.css', 3 );
    71     wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20191023' );
     71    wp_enqueue_style( 'wporg-login', get_template_directory_uri() . '/stylesheets/login.css', array( 'login', 'dashicons' ), '20200507' );
    7272}
    7373add_action( 'wp_enqueue_scripts', 'wporg_login_scripts' );
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/pending-create.php

    r9833 r9835  
    102102<form name="registerform" id="registerform" action="" method="post">
    103103
     104        <p class="login-login">
     105            <label for="user_login"><?php _e( 'Username', 'wporg' ); ?></label>
     106            <input type="text" disabled="disabled" class=" disabled" value="<?php echo esc_attr( $activation_user ); ?>" size="20" />
     107        </p>
     108
    104109        <div class="user-pass1-wrap">
    105110        <p>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/pending-profile.php

    r9833 r9835  
    6666<form name="registerform" id="registerform" action="" method="post">
    6767
     68    <p class="login-login">
     69        <label for="user_login"><?php _e( 'Username', 'wporg' ); ?></label>
     70        <input type="text" disabled="disabled" class=" disabled" value="<?php echo esc_attr( $profile_user ); ?>" size="20" />
     71    </p>
     72
     73
    6874    <?php
    6975        $fields = &$pending_user['meta'];
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/stylesheets/login.css

    r9834 r9835  
    444444}
    445445
     446body.route-pending-profile .login-login input.disabled,
     447body.route-pending-create .login-login input.disabled {
     448    color: #666;
     449    background: transparent;
     450    border: none;
     451    box-shadow: unset;
     452    margin-bottom: 0;
     453}
     454
    446455form .login-mailinglist label {
    447456    position: relative;
Note: See TracChangeset for help on using the changeset viewer.