Make WordPress Core

Ticket #19867: 19867.patch

File 19867.patch, 833 bytes (added by BevanR, 9 years ago)

Workaround

  • wp-admin/users.php

    diff --git a/wp-admin/users.php b/wp-admin/users.php
    index 27e264c..e8e9416 100644
    a b case 'delete': 
    251251                <li><label><input type="radio" id="delete_option0" name="delete_option" value="delete" />
    252252                <?php _e('Delete all content.'); ?></label></li>
    253253                <li><input type="radio" id="delete_option1" name="delete_option" value="reassign" />
    254                 <?php echo '<label for="delete_option1">' . __( 'Attribute all content to:' ) . '</label> ';
    255                 wp_dropdown_users( array( 'name' => 'reassign_user', 'exclude' => array_diff( $userids, array($current_user->ID) ) ) ); ?></li>
     254                <?php echo '<label for="delete_option1">' . __( 'Attribute all content to anonymous.' ) . '</label> '; ?>
     255                <input type="hidden" name="reassign_user" value="0" /></li>
    256256        </ul></fieldset>
    257257        <?php
    258258        /**