WordPress.org

Make WordPress Core

Ticket #15562: 15562.diff

File 15562.diff, 1.6 KB (added by duck_, 5 years ago)
  • wp-admin/user-new.php

     
    228228 
    229229<table class="form-table"> 
    230230        <tr class="form-field form-required"> 
    231                 <th scope="row"><label for="email"><?php echo $label; ?></label></th> 
    232                 <td><input name="email" type="text" id="email" value="" /></td> 
     231                <th scope="row"><label for="adduser-email"><?php echo $label; ?></label></th> 
     232                <td><input name="email" type="text" id="adduser-email" value="" /></td> 
    233233        </tr> 
    234234        <tr class="form-field"> 
    235                 <th scope="row"><label for="role"><?php _e('Role'); ?></label></th> 
    236                 <td><select name="role" id="role"> 
     235                <th scope="row"><label for="adduser-role"><?php _e('Role'); ?></label></th> 
     236                <td><select name="role" id="adduser-role"> 
    237237                        <?php wp_dropdown_roles( get_option('default_role') ); ?> 
    238238                        </select> 
    239239                </td> 
    240240        </tr> 
    241241<?php if ( is_super_admin() ) { ?> 
    242242        <tr> 
    243                 <th scope="row"><label for="noconfirmation"><?php _e('Skip Confirmation Email') ?></label></th> 
    244                 <td><label for="noconfirmation"><input type="checkbox" name="noconfirmation" id="noconfirmation" value="1" /> <?php _e( 'Add the user without sending them a confirmation email.' ); ?></label></td> 
     243                <th scope="row"><label for="adduser-noconfirmation"><?php _e('Skip Confirmation Email') ?></label></th> 
     244                <td><label for="adduser-noconfirmation"><input type="checkbox" name="noconfirmation" id="adduser-noconfirmation" value="1" /> <?php _e( 'Add the user without sending them a confirmation email.' ); ?></label></td> 
    245245        </tr> 
    246246<?php } ?> 
    247247</table>