WordPress.org

Make WordPress Core

Ticket #15115: 15115.diff

File 15115.diff, 1.2 KB (added by coffee2code, 7 years ago)

Aforementioned patch.

  • wp-admin/user-new.php

     
    300300                <th scope="row"><label for="url"><?php _e('Website') ?></label></th>
    301301                <td><input name="url" type="text" id="url" class="code" value="<?php echo esc_attr($new_user_uri); ?>" /></td>
    302302        </tr>
    303 <?php if ( apply_filters('show_password_fields', true) ) : ?>
    304303        <tr class="form-field form-required">
    305304                <th scope="row"><label for="pass1"><?php _e('Password'); ?> <span class="description"><?php /* translators: password input field */_e('(twice, required)'); ?></span></label></th>
    306305                <td><input name="pass1" type="password" id="pass1" autocomplete="off" />
     
    315314                <th scope="row"><label for="send_password"><?php _e('Send Password?') ?></label></th>
    316315                <td><label for="send_password"><input type="checkbox" name="send_password" id="send_password" <?php checked( $new_user_send_password ); ?> /> <?php _e('Send this password to the new user by email.'); ?></label></td>
    317316        </tr>
    318 <?php endif; ?>
    319317<?php } // !is_multisite ?>
    320318        <tr class="form-field">
    321319                <th scope="row"><label for="role"><?php _e('Role'); ?></label></th>