Make WordPress Core


Ignore:
Timestamp:
02/05/2021 02:38:15 PM (3 years ago)
Author:
johnbillion
Message:

Users: Allow the role of users to be bulk changed to no role from the Users listing screen.

This option is already available when editing an individual user, but it was previously missing from the bulk actions.

Props bonniebeeman, sabernhardt, ovidiul, jeroenrotty

Fixes #52238

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-users-list-table.php

    r50129 r50228  
    301301            <option value=""><?php _e( 'Change role to&hellip;' ); ?></option>
    302302            <?php wp_dropdown_roles(); ?>
     303            <option value="none"><?php echo __( '&mdash; No role for this site &mdash;' ) ?> </option>
    303304        </select>
    304305            <?php
Note: See TracChangeset for help on using the changeset viewer.