Changeset 14737 for trunk/wp-admin/ms-sites.php
- Timestamp:
- 05/19/2010 05:32:39 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-sites.php
r14735 r14737 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 ?> … … 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 ); … … 419 419 </select> 420 420 <input type="submit" value="<?php esc_attr_e( 'Apply' ); ?>" name="doaction" id="doaction" class="button-secondary action" /> 421 <?php wp_nonce_field( 'bulk-ms-sites' ); ?>421 <?php wp_nonce_field( 'bulk-ms-sites', '_wpnonce_bulk-ms-sites' ); ?> 422 422 </div> 423 423 … … 680 680 <h3><?php _e( 'Add Site' ) ?></h3> 681 681 <form method="post" action="ms-edit.php?action=addblog"> 682 <?php wp_nonce_field( 'add-blog' ) ?>682 <?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ) ?> 683 683 <table class="form-table"> 684 684 <tr class="form-field form-required">
Note: See TracChangeset
for help on using the changeset viewer.