WordPress.org

Make WordPress Core

Ticket #16361: 16361.diff

File 16361.diff, 813 bytes (added by nacin, 3 years ago)

Not actually tested.

  • wp-admin/users.php

     
    181181                <?php _e('Delete all posts and links.'); ?></label></li> 
    182182                <li><input type="radio" id="delete_option1" name="delete_option" value="reassign" /> 
    183183                <?php echo '<label for="delete_option1">'.__('Attribute all posts and links to:').'</label>'; 
    184                 wp_dropdown_users( array( 'exclude' => array_diff( $userids, array($current_user->ID) ) ) ); ?></li> 
     184                wp_dropdown_users( array( 'name' => 'reassign_user', 'exclude' => array_diff( $userids, array($current_user->ID) ) ) ); ?></li> 
    185185        </ul></fieldset> 
    186186        <input type="hidden" name="action" value="dodelete" /> 
    187187        <?php submit_button( __('Confirm Deletion'), 'secondary' ); ?>