Capture the bulk action required, and return it.

Description Description

Overridden from the base class implementation to capture the role change drop-down.

Top ↑

Return Return

(string) The bulk action required.

Top ↑

Source Source

File: wp-admin/includes/class-wp-users-list-table.php

	public function current_action() {
		if ( isset( $_REQUEST['changeit'] ) && ! empty( $_REQUEST['new_role'] ) ) {
			return 'promote';

		return parent::current_action();

Top ↑

Changelog Changelog

Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.