mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-10 12:50:18 +01:00
Add a value to the password checkbox when creating a new user so the toggle is remembered.
props chriseverson, SergeyBiryukov. fixes #27006. Built from https://develop.svn.wordpress.org/trunk@27838 git-svn-id: http://core.svn.wordpress.org/trunk@27672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6ca804ee76
commit
5851e00b93
@ -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 ?>
|
||||
|
Loading…
Reference in New Issue
Block a user