Make WordPress Core

Ticket #27006: sendpasswordcheckboxpersist_v2.diff

File sendpasswordcheckboxpersist_v2.diff, 777 bytes (added by chriseverson, 12 years ago)
  • user-new.php

     
    400400        </tr>
    401401        <tr>
    402402                <th scope="row"><label for="send_password"><?php _e('Send Password?') ?></label></th>
    403                 <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>
     403                <td><label for="send_password"><input type="checkbox" name="send_password" id="send_password" <?php checked( (bool) $new_user_send_password ); ?> /> <?php _e('Send this password to the new user by email.'); ?></label></td>
    404404        </tr>
    405405<?php endif; ?>
    406406<?php } // !is_multisite ?>