Ticket #42013: 42013.diff
File 42013.diff, 1.0 KB (added by , 7 years ago) |
---|
-
src/wp-admin/network/site-users.php
298 298 <tr> 299 299 <th scope="row"><label for="new_role_adduser"><?php _e( 'Role' ); ?></label></th> 300 300 <td><select name="new_role" id="new_role_adduser"> 301 <?php wp_dropdown_roles( get_option( 'default_role' ) ); ?> 301 <?php 302 switch_to_blog( $id ); 303 wp_dropdown_roles( get_option( 'default_role' ) ); 304 restore_current_blog(); 305 ?> 302 306 </select></td> 303 307 </tr> 304 308 </table> … … 331 335 <tr> 332 336 <th scope="row"><label for="new_role_newuser"><?php _e( 'Role' ); ?></label></th> 333 337 <td><select name="new_role" id="new_role_newuser"> 334 <?php wp_dropdown_roles( get_option( 'default_role' ) ); ?> 338 <?php 339 switch_to_blog( $id ); 340 wp_dropdown_roles( get_option( 'default_role' ) ); 341 restore_current_blog(); 342 ?> 335 343 </select></td> 336 344 </tr> 337 345 <tr class="form-field">