mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-04 03:51:38 +00:00
Add a value to the password checkbox when creating a new user so the toggle is remembered.
props chriseverson, SergeyBiryukov. fixes #27006. git-svn-id: https://develop.svn.wordpress.org/trunk@27838 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -400,7 +400,7 @@ if ( apply_filters( 'show_password_fields', true ) ) : ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="send_password"><?php _e('Send Password?') ?></label></th>
|
||||
<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>
|
||||
<td><label for="send_password"><input type="checkbox" name="send_password" id="send_password" value="1" <?php checked( $new_user_send_password ); ?> /> <?php _e('Send this password to the new user by email.'); ?></label></td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php } // !is_multisite ?>
|
||||
|
||||
Reference in New Issue
Block a user