Ticket #27230: delete-user2.patch
File delete-user2.patch, 1.3 KB (added by , 9 years ago) |
---|
-
wp-admin/network/users.php
77 77 } 78 78 } 79 79 80 /** 81 * Fires at the end of the delete users form prior to the confirm button for plugins to add items to the form. 82 * 83 * @since 4.0.0 84 */ 85 do_action( 'delete_user_form', $current_user ); 86 80 87 submit_button( __('Confirm Deletion'), 'delete' ); 81 88 ?> 82 89 </form> -
wp-admin/users.php
244 244 <?php echo '<label for="delete_option1">' . __( 'Attribute all content to:' ) . '</label> '; 245 245 wp_dropdown_users( array( 'name' => 'reassign_user', 'exclude' => array_diff( $userids, array($current_user->ID) ) ) ); ?></li> 246 246 </ul></fieldset> 247 248 <?php 249 /** 250 * Fires at the end of the delete users form prior to the confirm button for plugins to add items to the form 251 * 252 * @since 4.0.0 253 */ 254 do_action( 'delete_user_form', $current_user ); 255 ?> 247 256 <input type="hidden" name="action" value="dodelete" /> 248 257 <?php submit_button( __('Confirm Deletion'), 'secondary' ); ?> 249 258 <?php else : ?>