=== Network Pending Users Manager ===
Contributors: enricomarogna
Tags: multisite, network, users, activation, signup
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Manage pending WordPress Multisite signups from Network Admin with activation, resend, link regeneration, and audit logs.

== Description ==
Network Pending Users Manager helps super admins manage pending signups (`wp_signups`) in WordPress Multisite from a dedicated interface in Network Admin.

It is designed for multisite operators who need a practical workflow to inspect signups, resend activation emails, regenerate activation links, activate accounts manually, delete signup entries, and keep traceability with logs.

= Key features =
* List and filter pending users from signup records (`wp_signups`).
* Resend activation email.
* Regenerate activation link.
* Activate signup directly from Network Admin.
* Delete signup entries.
* Copy/Open activation links from row actions.
* Logs and retention settings for operational history.
* Diagnostics tab with basic status information.

= Important =
* This plugin works only on WordPress Multisite.
* If your mail stack is misconfigured, the “Resend” action can complete without actual message delivery.
* The plugin does not send data to external services. Optional logs are stored locally and may include the performing administrator and IP address.

== Installation ==
1. Upload the plugin folder to `/wp-content/plugins/`.
2. Go to **My Sites → Network Admin → Plugins**.
3. Activate **Network Pending Users Manager** with **Network Activate**.
4. Open **Network Admin → Users → Pending Users**.

== Frequently Asked Questions ==
= Where can I find pending users? =
Go to **Network Admin → Users → Pending Users**.

= Why are activation emails not received? =
The plugin triggers WordPress email functions, but delivery depends on server mail configuration (or SMTP plugin/service). Check SMTP setup, sender reputation, and mail provider/server logs.

= Does this plugin work on single-site WordPress? =
No. It is intended for Multisite only.

= Does this plugin send data to external services? =
No. All processing stays on your WordPress Multisite. If logs are enabled, action history is stored in a local database table.

== Screenshots ==

1. Pending users list — view, resend activation, activate or delete signups
2. Logs — full audit trail of admin actions on pending users
3. Diagnostics — quick status overview of signups and network configuration
4. Settings — configure logging, retention and post-activation email
5. Plugin info and requirements

== Changelog ==
= 1.0.5 =
* Plugin Check: prepared SQL identifiers, prefixed uninstall variables, and admin notices without query-string messages.
* Diagnostics no longer invoke core mail filters; list/export queries use table placeholders.

= 1.0.4 =
* WordPress.org compliance: unique NPUM prefix, local-only assets, English source strings, and at most five readme tags.
* Security: escape on output, sanitize individual request fields, and migrate legacy npu_* options/table.
* Compatibility: requires WordPress 6.2+ (table identifier placeholders) and tested up to WordPress 7.1.

= 1.0.3 =
* Security hardening: improved output escaping in Network Admin pages.
* i18n: added translators comments for strings with placeholders and improved handling of translatable strings containing HTML.
* Maintenance tweaks for WordPress.org Plugin Check/PHPCS compliance.

= 1.0.2 =
* Documentation and packaging metadata improvements for WordPress.org readiness.

== Upgrade Notice ==
= 1.0.5 =
* Recommended update: Plugin Check compliance and safer admin notices.

= 1.0.4 =
* Recommended update before WordPress.org submission: prefix, i18n, and packaging compliance fixes.

= 1.0.3 =
* Recommended maintenance update: improved admin-side escaping and translation placeholder clarity.

= 1.0.2 =
* Maintenance release with WordPress.org packaging and documentation updates.
