Ticket #13383: mssites.diff
File mssites.diff, 1.2 KB (added by , 14 years ago) |
---|
-
wp-admin/ms-sites.php
246 246 if ( $val->user_id != $current_user->data->ID ) { 247 247 ?> 248 248 <td> 249 <select name="role[<?php echo $val->user_id ?>]" id="new_role "><?php249 <select name="role[<?php echo $val->user_id ?>]" id="new_role_1"><?php 250 250 foreach ( $editblog_roles as $role => $role_assoc ){ 251 251 $name = translate_user_role( $role_assoc['name'] ); 252 echo '<option ' . selected( $role, $existing_role ) . ' value="' . esc_attr( $role ) . '">' . esc_html( $name ) . '</option>';252 echo '<option ' . selected( $role, $existing_role, false ) . ' value="' . esc_attr( $role ) . '">' . esc_html( $name ) . '</option>'; 253 253 } 254 254 ?> 255 255 </select> … … 282 282 <tr> 283 283 <th scope="row"><?php _e( 'Role:' ) ?></th> 284 284 <td> 285 <select name="new_role" id="new_role ">285 <select name="new_role" id="new_role_0"> 286 286 <?php 287 287 reset( $editblog_roles ); 288 288 foreach ( $editblog_roles as $role => $role_assoc ){