=== Eclairman's User Login Blocker ===
Contributors: eclairman
Tags: login, users, access control, security, disable login
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Disable login for selected users. Choose which accounts are blocked from a simple, searchable, sortable checklist in the admin.

== Description ==

Eclairman's User Login Blocker lets an administrator prevent chosen user accounts from logging in, while everyone else logs in normally.

Blocked users cannot authenticate, and if they already have an active session they are redirected away from the WordPress admin.

Features:

* Block or allow any user with a single checkbox.
* Searchable, sortable user table showing ID, name, username, email and role.
* Sticky table header and scrollable list for large sites.
* Blocked users made through search filters are preserved on save.
* No configuration required — nothing is blocked until you choose to block it.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/disable-specific-user-login` directory, or install the plugin through the WordPress Plugins screen directly.
2. Activate the plugin through the "Plugins" screen in WordPress.
3. Go to the "Disabled specific user login" menu item (or the "Settings" link on the Plugins screen) to choose which users to block.

== Frequently Asked Questions ==

= Who can manage the blocked users? =

Only users with the `manage_options` capability (typically administrators) can view and change the blocked list.

= What happens to a blocked user who is already logged in? =

They are redirected to the site home page whenever they try to access the admin area, and they cannot log in again while blocked.

= Does the plugin block anyone by default? =

No. Nothing is blocked until an administrator selects users on the settings screen.

= Is it safe to block an administrator? =

You can, but be careful not to lock yourself out. A blocked administrator cannot log in.

== Changelog ==

= 1.0.0 =
* First public release.
* Block login for individually selected users.
* Searchable and sortable user management table with sticky header.
* Settings reachable from a top-level admin menu and the plugin action link.
* Admin styles and scripts moved to enqueued asset files.
* Removes stored plugin data on uninstall.

== Upgrade Notice ==

= 1.0.0 =
First public release.
