Make WordPress Core

Ticket #42640: 42640.patch

File 42640.patch, 593 bytes (added by dilipbheda, 7 years ago)

Here is the patch for your ticket

  • src/wp-admin/options-general.php

     
    127127</fieldset></td>
    128128</tr>
    129129
     130<?php if ( get_option( 'users_can_register' ) ) { ?>
    130131<tr>
    131132<th scope="row"><label for="default_role"><?php _e('New User Default Role') ?></label></th>
    132133<td>
     
    133134<select name="default_role" id="default_role"><?php wp_dropdown_roles( get_option('default_role') ); ?></select>
    134135</td>
    135136</tr>
     137<?php } ?>
    136138
    137139<?php }
    138140