WordPress.org

Make WordPress Core

Ticket #35063: users.php.patch

File users.php.patch, 603 bytes (added by usermrpapa, 5 years ago)

patch against trunk

  • wp-admin/users.php

     
    283283         * @since 4.0.0
    284284         *
    285285         * @param WP_User $current_user WP_User object for the user being deleted.
     286         * @param array $userids Array of IDs for users being deleted.
    286287         */
    287         do_action( 'delete_user_form', $current_user );
     288        do_action( 'delete_user_form', $current_user, $userids );
    288289        ?>
    289290        <input type="hidden" name="action" value="dodelete" />
    290291        <?php submit_button( __('Confirm Deletion'), 'primary' ); ?>