Make WordPress Core


Ignore:
Timestamp:
07/25/2019 07:10:33 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Bring some consistency to installation screen styles.

  • Include forms.css and l10n.css, for consistency with login screen and other admin screens.
  • Remove redundant @import directives from login.css for files already declared as dependencies.
  • Adjust margin on password strength meter for consistency with other fields.
  • Increase font size for "You will need this password to log in" notice.
  • Fix misaligned icon on "Hide" button for the password.

Props iseulde, dan@…, bassgang, cdog, johnbillion, nmenescardi, mukesh27, SergeyBiryukov.
Fixes #35776, #47757, #47758.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/install.php

    r45583 r45673  
    7272        <meta name="robots" content="noindex,nofollow" />
    7373        <title><?php _e( 'WordPress &rsaquo; Installation' ); ?></title>
    74         <?php
    75                 wp_admin_css( 'install', true );
    76                 wp_admin_css( 'dashicons', true );
    77         ?>
     74        <?php wp_admin_css( 'install', true ); ?>
    7875</head>
    7976<body class="wp-core-ui<?php echo $body_classes; ?>">
    … …  
    143140                        </th>
    144141                        <td>
    145                                 <div class="">
     142                                <div class="wp-pwd">
    146143                                        <?php $initial_password = isset( $_POST['admin_password'] ) ? stripslashes( $_POST['admin_password'] ) : wp_generate_password( 18 ); ?>
    147144                                        <input type="password" name="admin_password" id="pass1" class="regular-text" autocomplete="off" data-reveal="1" data-pw="<?php echo esc_attr( $initial_password ); ?>" aria-describedby="pass-strength-result" />
Note: See TracChangeset for help on using the changeset viewer.