Ticket #14756: 14756.4.diff
File 14756.4.diff, 913 bytes (added by , 14 years ago) |
---|
-
wp-admin/network/site-users.php
270 270 <th scope="row"><?php _e( 'Role'); ?></th> 271 271 <td><select name="new_role" id="new_role_0"> 272 272 <?php 273 if ( !isset( $default_role ) ) 274 $default_role = $wpdb->get_var( "SELECT `option_value` FROM {$blog_prefix}options WHERE option_name = 'default_role'" ); 273 275 reset( $editblog_roles ); 274 276 foreach ( $editblog_roles as $role => $role_assoc ){ 275 277 $name = translate_user_role( $role_assoc['name'] ); … … 286 288 <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?> 287 289 <?php submit_button( __('Add New User'), 'primary', 'add-user' ); ?> 288 290 </form> 291 <?php endif; ?> 289 292 </div> 290 <?php endif; ?>291 293 <?php 292 294 require('../admin-footer.php'); 293 No newline at end of file