Make WordPress Core

Ticket #38459: 38459.diff

File 38459.diff, 2.5 KB (added by afercia, 7 years ago)
  • src/wp-admin/user-new.php

     
    348348        </tr>
    349349<?php if ( current_user_can( 'manage_network_users' ) ) { ?>
    350350        <tr>
    351                 <th scope="row"><label for="adduser-noconfirmation"><?php _e('Skip Confirmation Email') ?></label></th>
    352                 <td><label for="adduser-noconfirmation"><input type="checkbox" name="noconfirmation" id="adduser-noconfirmation" value="1" /> <?php _e( 'Add the user without sending an email that requires their confirmation.' ); ?></label></td>
     351                <th scope="row"><?php _e( 'Skip Confirmation Email' ); ?></th>
     352                <td>
     353                        <input type="checkbox" name="noconfirmation" id="adduser-noconfirmation" value="1" />
     354                        <label for="adduser-noconfirmation"><?php _e( 'Add the user without sending an email that requires their confirmation.' ); ?></label>
     355                </td>
    353356        </tr>
    354357<?php } ?>
    355358</table>
     
    462465        </tr>
    463466        <tr>
    464467                <th scope="row"><?php _e( 'Send User Notification' ) ?></th>
    465                 <td><label for="send_user_notification"><input type="checkbox" name="send_user_notification" id="send_user_notification" value="1" <?php checked( $new_user_send_notification ); ?> /> <?php _e( 'Send the new user an email about their account.' ); ?></label></td>
     468                <td>
     469                        <input type="checkbox" name="send_user_notification" id="send_user_notification" value="1" <?php checked( $new_user_send_notification ); ?> />
     470                        <label for="send_user_notification"><?php _e( 'Send the new user an email about their account.' ); ?></label>
     471                </td>
    466472        </tr>
    467473<?php } // !is_multisite ?>
    468474        <tr class="form-field">
     
    478484        </tr>
    479485        <?php if ( is_multisite() && current_user_can( 'manage_network_users' ) ) { ?>
    480486        <tr>
    481                 <th scope="row"><label for="noconfirmation"><?php _e('Skip Confirmation Email') ?></label></th>
    482                 <td><label for="noconfirmation"><input type="checkbox" name="noconfirmation" id="noconfirmation" value="1" <?php checked( $new_user_ignore_pass ); ?> /> <?php _e( 'Add the user without sending an email that requires their confirmation.' ); ?></label></td>
     487                <th scope="row"><?php _e( 'Skip Confirmation Email' ); ?></th>
     488                <td>
     489                        <input type="checkbox" name="noconfirmation" id="noconfirmation" value="1" <?php checked( $new_user_ignore_pass ); ?> />
     490                        <label for="noconfirmation"><?php _e( 'Add the user without sending an email that requires their confirmation.' ); ?></label>
     491                </td>
    483492        </tr>
    484493        <?php } ?>
    485494</table>