WordPress.org

Make WordPress Core

Changeset 34582


Ignore:
Timestamp:
09/26/2015 06:14:25 AM (4 years ago)
Author:
wonderboymusic
Message:

Profile: on user-new.php, don't allow the password fields to be hidden. When hidden, you can't add a user.

Props coffee2code.
Fixes #15115.

File:
1 edited

Legend:

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

    r34265 r34582  
    395395        <td><input name="url" type="url" id="url" class="code" value="<?php echo esc_attr( $new_user_uri ); ?>" /></td>
    396396    </tr>
    397 <?php
    398 /**
    399  * Filter the display of the password fields.
    400  *
    401  * @since 1.5.1
    402  *
    403  * @param bool $show Whether to show the password fields. Default true.
    404  */
    405 if ( apply_filters( 'show_password_fields', true ) ) : ?>
    406397    <tr class="form-field form-required user-pass1-wrap">
    407398        <th scope="row">
     
    446437        </td>
    447438    </tr>
    448 <?php endif; ?>
    449439<?php } // !is_multisite ?>
    450440    <tr class="form-field">
Note: See TracChangeset for help on using the changeset viewer.